mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-17 13:47:57 -05:00
CPU_Manager: Reconfigre guest threads for dynamrmic downsides
This commit is contained in:
@ -80,9 +80,10 @@ void CpuManager::RunGuestThread() {
|
||||
}
|
||||
while (true) {
|
||||
auto& physical_core = kernel.CurrentPhysicalCore();
|
||||
if (!physical_core.IsInterrupted()) {
|
||||
while (!physical_core.IsInterrupted()) {
|
||||
physical_core.Run();
|
||||
}
|
||||
physical_core.ClearExclusive();
|
||||
auto& scheduler = physical_core.Scheduler();
|
||||
scheduler.TryDoContextSwitch();
|
||||
}
|
||||
|
Reference in New Issue
Block a user