mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-23 16:55:36 +00:00
hle: remove no-op code
Found by static analysis with PVS-Studio. Nobody seems to really know what was it doing there.
This commit is contained in:
parent
ca2d904770
commit
84786dde00
|
@ -49,8 +49,6 @@ void KScheduler::RescheduleCores(KernelCore& kernel, u64 cores_pending_reschedul
|
||||||
if (!must_context_switch || core != current_core) {
|
if (!must_context_switch || core != current_core) {
|
||||||
auto& phys_core = kernel.PhysicalCore(core);
|
auto& phys_core = kernel.PhysicalCore(core);
|
||||||
phys_core.Interrupt();
|
phys_core.Interrupt();
|
||||||
} else {
|
|
||||||
must_context_switch = true;
|
|
||||||
}
|
}
|
||||||
cores_pending_reschedule &= ~(1ULL << core);
|
cores_pending_reschedule &= ~(1ULL << core);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue