Allow using ulong max value as yield
This commit is contained in:
parent
3b00333b0c
commit
47e6eeaf94
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ namespace Ryujinx.HLE.OsHle.Kernel
|
||||||
|
|
||||||
KThread CurrThread = Process.GetThread(ThreadState.Tpidr);
|
KThread CurrThread = Process.GetThread(ThreadState.Tpidr);
|
||||||
|
|
||||||
if (TimeoutNs == 0)
|
if (TimeoutNs == 0 || TimeoutNs == ulong.MaxValue)
|
||||||
{
|
{
|
||||||
Process.Scheduler.Yield(CurrThread);
|
Process.Scheduler.Yield(CurrThread);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue