mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 17:21:15 +01:00
Allow using ulong max value as yield (#263)
This commit is contained in:
1 parent
514218ab98
commit
fc12fca962
1 file changed
+1
-1
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user