summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/scheduler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/scheduler.cpp')
-rw-r--r--src/core/hle/kernel/scheduler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/scheduler.cpp b/src/core/hle/kernel/scheduler.cpp
index 5581c43bf..60d936c9a 100644
--- a/src/core/hle/kernel/scheduler.cpp
+++ b/src/core/hle/kernel/scheduler.cpp
@@ -287,7 +287,7 @@ void GlobalScheduler::PreemptThreads() {
287 if (current_thread != nullptr && current_thread->GetPriority() > priority) { 287 if (current_thread != nullptr && current_thread->GetPriority() > priority) {
288 for (auto& thread : suggested_queue[core_id]) { 288 for (auto& thread : suggested_queue[core_id]) {
289 const s32 source_core = thread->GetProcessorID(); 289 const s32 source_core = thread->GetProcessorID();
290 if (thread->GetPriority() > priority) { 290 if (thread->GetPriority() < priority) {
291 continue; 291 continue;
292 } 292 }
293 if (source_core >= 0) { 293 if (source_core >= 0) {