Sfoglia il codice sorgente

hle: remove no-op code

Found by static analysis with PVS-Studio. Nobody seems to really know what was it doing there.
Valeri 4 anni fa
parent
commit
84786dde00
1 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  1. 0 2
      src/core/hle/kernel/k_scheduler.cpp

+ 0 - 2
src/core/hle/kernel/k_scheduler.cpp

@@ -49,8 +49,6 @@ void KScheduler::RescheduleCores(KernelCore& kernel, u64 cores_pending_reschedul
         if (!must_context_switch || core != current_core) {
             auto& phys_core = kernel.PhysicalCore(core);
             phys_core.Interrupt();
-        } else {
-            must_context_switch = true;
         }
         cores_pending_reschedule &= ~(1ULL << core);
     }