Remove some debug stuff
This commit is contained in:
parent
4d154f5fcb
commit
11963f2c6a
4 changed files with 3 additions and 10 deletions
|
@ -166,11 +166,6 @@ namespace ChocolArm64.Instruction
|
|||
Context.EmitLdint(Rn);
|
||||
}
|
||||
|
||||
if (Name == nameof(AMemory.SetExclusive))
|
||||
{
|
||||
Context.EmitLdc_I8(Context.CurrOp.Position);
|
||||
}
|
||||
|
||||
Context.EmitCall(typeof(AMemory), Name);
|
||||
}
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ namespace ChocolArm64.Memory
|
|||
}
|
||||
}
|
||||
|
||||
public void SetExclusive(AThreadState ThreadState, long Position, long oppos)
|
||||
public void SetExclusive(AThreadState ThreadState, long Position)
|
||||
{
|
||||
Position &= ~ErgMask;
|
||||
|
||||
|
|
|
@ -81,8 +81,6 @@ namespace Ryujinx.HLE.OsHle.Kernel
|
|||
|
||||
private void SvcSleepThread(AThreadState ThreadState)
|
||||
{
|
||||
//Process.PrintStackTrace(ThreadState);
|
||||
|
||||
ulong TimeoutNs = ThreadState.X0;
|
||||
|
||||
Ns.Log.PrintDebug(LogClass.KernelSvc, "Timeout = " + TimeoutNs.ToString("x16"));
|
||||
|
|
|
@ -314,7 +314,7 @@ namespace Ryujinx.HLE.OsHle.Kernel
|
|||
|
||||
long MutexAddress = WaitThread.MutexAddress;
|
||||
|
||||
Memory.SetExclusive(ThreadState, MutexAddress, 0);
|
||||
Memory.SetExclusive(ThreadState, MutexAddress);
|
||||
|
||||
int MutexValue = Process.Memory.ReadInt32(MutexAddress);
|
||||
|
||||
|
@ -332,7 +332,7 @@ namespace Ryujinx.HLE.OsHle.Kernel
|
|||
break;
|
||||
}
|
||||
|
||||
Memory.SetExclusive(ThreadState, MutexAddress, 0);
|
||||
Memory.SetExclusive(ThreadState, MutexAddress);
|
||||
|
||||
MutexValue = Process.Memory.ReadInt32(MutexAddress);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue