aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Core/OsHle/Kernel/SvcSystem.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-05-13 00:22:42 -0300
committergdkchan <gab.dark.100@gmail.com>2018-05-13 00:22:42 -0300
commit4546d1b9be1052bbf82858d97795b33355bf64da (patch)
treea88286d145d8da522a81b3a265c538e7795b7f8d /Ryujinx.Core/OsHle/Kernel/SvcSystem.cs
parent3603497a137d14f2d65c5450133f2486a9f9620c (diff)
Initial work to support changing thread core on the scheduler, also some cond var priority fixes
Diffstat (limited to 'Ryujinx.Core/OsHle/Kernel/SvcSystem.cs')
-rw-r--r--Ryujinx.Core/OsHle/Kernel/SvcSystem.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Core/OsHle/Kernel/SvcSystem.cs b/Ryujinx.Core/OsHle/Kernel/SvcSystem.cs
index e5b080a8..24317bdf 100644
--- a/Ryujinx.Core/OsHle/Kernel/SvcSystem.cs
+++ b/Ryujinx.Core/OsHle/Kernel/SvcSystem.cs
@@ -131,7 +131,7 @@ namespace Ryujinx.Core.OsHle.Kernel
Handles[HandlesCount] = WaitEvent;
- Process.Scheduler.Suspend(CurrThread.ProcessorId);
+ Process.Scheduler.Suspend(CurrThread);
int HandleIndex;
@@ -237,7 +237,7 @@ namespace Ryujinx.Core.OsHle.Kernel
if (Session != null)
{
- Process.Scheduler.Suspend(CurrThread.ProcessorId);
+ Process.Scheduler.Suspend(CurrThread);
IpcMessage Cmd = new IpcMessage(CmdData, CmdPtr);