Allow using ulong max value as yield

This commit is contained in:
gdkchan 2018-07-13 23:35:48 -03:00
parent 3b00333b0c
commit 47e6eeaf94

View file

@ -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);
}