Browse Source

Allow using ulong max value as yield (#263)

gdkchan 7 years ago
parent
commit
fc12fca962
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Ryujinx.HLE/OsHle/Kernel/SvcThread.cs

+ 1 - 1
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);
             }