diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-03-08 21:20:05 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-06-27 17:35:40 +0200 |
commit | 9e9c287f8b24ce9a932490cc35b3d0b5f58bb7a3 (patch) | |
tree | e977aa6c71954d9a147a20c190a425df23851085 /src/core/hle/kernel/scheduler.cpp | |
parent | Kernel: Fixes, corrections and asserts to scheduler and different svcs. (diff) | |
download | yuzu-9e9c287f8b24ce9a932490cc35b3d0b5f58bb7a3.tar yuzu-9e9c287f8b24ce9a932490cc35b3d0b5f58bb7a3.tar.gz yuzu-9e9c287f8b24ce9a932490cc35b3d0b5f58bb7a3.tar.bz2 yuzu-9e9c287f8b24ce9a932490cc35b3d0b5f58bb7a3.tar.lz yuzu-9e9c287f8b24ce9a932490cc35b3d0b5f58bb7a3.tar.xz yuzu-9e9c287f8b24ce9a932490cc35b3d0b5f58bb7a3.tar.zst yuzu-9e9c287f8b24ce9a932490cc35b3d0b5f58bb7a3.zip |
Diffstat (limited to 'src/core/hle/kernel/scheduler.cpp')
-rw-r--r-- | src/core/hle/kernel/scheduler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/scheduler.cpp b/src/core/hle/kernel/scheduler.cpp index 5322f0aae..98fbb8fe5 100644 --- a/src/core/hle/kernel/scheduler.cpp +++ b/src/core/hle/kernel/scheduler.cpp @@ -93,7 +93,7 @@ u32 GlobalScheduler::SelectThreads() { iter++; s32 suggested_core_id = suggested->GetProcessorID(); Thread* top_thread = - suggested_core_id > 0 ? top_threads[suggested_core_id] : nullptr; + suggested_core_id >= 0 ? top_threads[suggested_core_id] : nullptr; if (top_thread != suggested) { if (top_thread != nullptr && top_thread->GetPriority() < THREADPRIO_MAX_CORE_MIGRATION) { |