Explorar o código

Allow using ulong max value as yield (#263)

gdkchan %!s(int64=7) %!d(string=hai) anos
pai
achega
fc12fca962
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
             }