diff options
author | bunnei <ericbunnie@gmail.com> | 2014-05-22 03:42:18 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-05-22 03:42:18 +0200 |
commit | 6a78be5930fd5eabbea740a5cf17efa5a7f1bc98 (patch) | |
tree | e6a5124001e60da3b34f3096d2a6a383c097a0b1 | |
parent | svc: added Kernel::Reschedule to svc WaitSynchronization1, updated log messages to include newly created handles (diff) | |
download | yuzu-6a78be5930fd5eabbea740a5cf17efa5a7f1bc98.tar yuzu-6a78be5930fd5eabbea740a5cf17efa5a7f1bc98.tar.gz yuzu-6a78be5930fd5eabbea740a5cf17efa5a7f1bc98.tar.bz2 yuzu-6a78be5930fd5eabbea740a5cf17efa5a7f1bc98.tar.lz yuzu-6a78be5930fd5eabbea740a5cf17efa5a7f1bc98.tar.xz yuzu-6a78be5930fd5eabbea740a5cf17efa5a7f1bc98.tar.zst yuzu-6a78be5930fd5eabbea740a5cf17efa5a7f1bc98.zip |
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 294e03ca6..ef705e327 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -194,7 +194,7 @@ Thread* __NextThread() { } else { next = g_thread_ready_queue.pop_first(); } - if (next < 0) { + if (next == 0) { return NULL; } return Kernel::g_object_pool.GetFast<Thread>(next); |