diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-07-14 13:53:44 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-14 13:53:44 -0300 |
| commit | fc12fca96237c9aadc78436dc7c77480fa83fa09 (patch) | |
| tree | e38877428e8a85267d748afb089fa0685a696e28 | |
| parent | 514218ab98acc1f0ace2e2cc0b8c1091ffccc6ce (diff) | |
Allow using ulong max value as yield (#263)
| -rw-r--r-- | Ryujinx.HLE/OsHle/Kernel/SvcThread.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.HLE/OsHle/Kernel/SvcThread.cs b/Ryujinx.HLE/OsHle/Kernel/SvcThread.cs index b0a7490a..8702203e 100644 --- a/Ryujinx.HLE/OsHle/Kernel/SvcThread.cs +++ b/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); } |
