diff options
| author | 2021-01-19 21:08:35 -0800 | |
|---|---|---|
| committer | 2021-01-28 21:42:26 -0800 | |
| commit | 1772ebeb1e45240fd731e461a4c74eab8ec37c84 (patch) | |
| tree | 95596207fcd499f340373ba3bfa675c26e9238c4 /src/core | |
| parent | kernel: k_light_lock: Simplify EmuThreadHandle implementation. (diff) | |
| download | yuzu-1772ebeb1e45240fd731e461a4c74eab8ec37c84.tar.gz yuzu-1772ebeb1e45240fd731e461a4c74eab8ec37c84.tar.xz yuzu-1772ebeb1e45240fd731e461a4c74eab8ec37c84.zip | |
kernel: KSchedulerPriorityQueue: Lowest priority should be LowestThreadPriority.
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/kernel/global_scheduler_context.h | 2 |
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; | |||
| 21 | class SchedulerLock; | 21 | class SchedulerLock; |
| 22 | 22 | ||
| 23 | using KSchedulerPriorityQueue = | 23 | using KSchedulerPriorityQueue = |
| 24 | KPriorityQueue<KThread, Core::Hardware::NUM_CPU_CORES, Svc::LowestThreadPriority + 1, | 24 | KPriorityQueue<KThread, Core::Hardware::NUM_CPU_CORES, Svc::LowestThreadPriority, |
| 25 | Svc::HighestThreadPriority>; | 25 | Svc::HighestThreadPriority>; |
| 26 | 26 | ||
| 27 | static constexpr s32 HighestCoreMigrationAllowedPriority = 2; | 27 | static constexpr s32 HighestCoreMigrationAllowedPriority = 2; |