mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-06-28 11:50:48 -07:00
Allow using ulong max value as yield (#263)
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user