Explorar o código

kernel: KSchedulerPriorityQueue: Lowest priority should be LowestThreadPriority.

bunnei %!s(int64=5) %!d(string=hai) anos
pai
achega
1772ebeb1e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/hle/kernel/global_scheduler_context.h

+ 1 - 1
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;