aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-07-14 13:53:44 -0300
committerGitHub <noreply@github.com>2018-07-14 13:53:44 -0300
commitfc12fca96237c9aadc78436dc7c77480fa83fa09 (patch)
treee38877428e8a85267d748afb089fa0685a696e28
parent514218ab98acc1f0ace2e2cc0b8c1091ffccc6ce (diff)
Allow using ulong max value as yield (#263)
-rw-r--r--Ryujinx.HLE/OsHle/Kernel/SvcThread.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.HLE/OsHle/Kernel/SvcThread.cs b/Ryujinx.HLE/OsHle/Kernel/SvcThread.cs
index b0a7490a..8702203e 100644
--- a/Ryujinx.HLE/OsHle/Kernel/SvcThread.cs
+++ b/Ryujinx.HLE/OsHle/Kernel/SvcThread.cs
@@ -87,7 +87,7 @@ namespace Ryujinx.HLE.OsHle.Kernel
KThread CurrThread = Process.GetThread(ThreadState.Tpidr);
- if (TimeoutNs == 0)
+ if (TimeoutNs == 0 || TimeoutNs == ulong.MaxValue)
{
Process.Scheduler.Yield(CurrThread);
}