summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-01-19 21:08:35 -0800
committerbunnei <bunneidev@gmail.com>2021-01-28 21:42:26 -0800
commit1772ebeb1e45240fd731e461a4c74eab8ec37c84 (patch)
tree95596207fcd499f340373ba3bfa675c26e9238c4 /src
parent1f99f5473c7a03c791ea20256c7fc2f1caba8adc (diff)
kernel: KSchedulerPriorityQueue: Lowest priority should be LowestThreadPriority.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/global_scheduler_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/global_scheduler_context.h b/src/core/hle/kernel/global_scheduler_context.h
index 0f7b9a61c..11592843e 100644
--- a/src/core/hle/kernel/global_scheduler_context.h
+++ b/src/core/hle/kernel/global_scheduler_context.h
@@ -21,7 +21,7 @@ class KernelCore;
class SchedulerLock;
using KSchedulerPriorityQueue =
- KPriorityQueue<KThread, Core::Hardware::NUM_CPU_CORES, Svc::LowestThreadPriority + 1,
+ KPriorityQueue<KThread, Core::Hardware::NUM_CPU_CORES, Svc::LowestThreadPriority,
Svc::HighestThreadPriority>;
static constexpr s32 HighestCoreMigrationAllowedPriority = 2;