yuzu-emu
/
yuzu
Archived
1
0
Fork 0

core: hle: kernel: DisableDispatch on suspend threads.

This commit is contained in:
bunnei 2021-08-06 23:43:26 -07:00
parent 1798c3b6b0
commit 5051d3c415
1 changed files with 3 additions and 0 deletions

View File

@ -1024,6 +1024,9 @@ void KernelCore::Suspend(bool in_suspention) {
impl->suspend_threads[core_id]->SetState(state);
impl->suspend_threads[core_id]->SetWaitReasonForDebugging(
ThreadWaitReasonForDebugging::Suspended);
if (!should_suspend) {
impl->suspend_threads[core_id]->DisableDispatch();
}
}
}
}