Explorar el Código

kernel: KSchedulerPriorityQueue: Lowest priority should be LowestThreadPriority.

bunnei hace 5 años
padre
commit
1772ebeb1e
Se han modificado 1 ficheros con 1 adiciones y 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;