mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-08-06 10:18:30 +02:00
Initial work to support changing thread core on the scheduler, also some cond var priority fixes
This commit is contained in:
@@ -75,7 +75,7 @@ namespace Ryujinx.Core.OsHle.Kernel
|
||||
}
|
||||
else
|
||||
{
|
||||
Process.Scheduler.Suspend(CurrThread.ProcessorId);
|
||||
Process.Scheduler.Suspend(CurrThread);
|
||||
|
||||
Thread.Sleep(NsTimeConverter.GetTimeMs(Ns));
|
||||
|
||||
@@ -132,7 +132,7 @@ namespace Ryujinx.Core.OsHle.Kernel
|
||||
|
||||
private void SvcGetCurrentProcessorNumber(AThreadState ThreadState)
|
||||
{
|
||||
ThreadState.X0 = (ulong)Process.GetThread(ThreadState.Tpidr).ProcessorId;
|
||||
ThreadState.X0 = (ulong)Process.GetThread(ThreadState.Tpidr).ActualCore;
|
||||
}
|
||||
|
||||
private void SvcGetThreadId(AThreadState ThreadState)
|
||||
|
Reference in New Issue
Block a user