mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-24 07:27:10 +02:00
Move solution and projects to src
This commit is contained in:
parent
cd124bda58
commit
cee7121058
3466 changed files with 55 additions and 55 deletions
21
src/Ryujinx.HLE/HOS/Tamper/Operations/OpLog.cs
Normal file
21
src/Ryujinx.HLE/HOS/Tamper/Operations/OpLog.cs
Normal file
|
@ -0,0 +1,21 @@
|
|||
using Ryujinx.Common.Logging;
|
||||
|
||||
namespace Ryujinx.HLE.HOS.Tamper.Operations
|
||||
{
|
||||
class OpLog<T> : IOperation where T : unmanaged
|
||||
{
|
||||
int _logId;
|
||||
IOperand _source;
|
||||
|
||||
public OpLog(int logId, IOperand source)
|
||||
{
|
||||
_logId = logId;
|
||||
_source = source;
|
||||
}
|
||||
|
||||
public void Execute()
|
||||
{
|
||||
Logger.Debug?.Print(LogClass.TamperMachine, $"Tamper debug log id={_logId} value={(dynamic)_source.Get<T>():X}");
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue