Fixup SPU/PPU Cache Abortion

This commit is contained in:
Eladash 2023-08-06 12:24:32 +03:00 committed by Elad Ashkenazi
parent ee869a49f4
commit 2a0278fbb1
3 changed files with 15 additions and 0 deletions

View file

@ -1823,6 +1823,11 @@ void ppu_thread::cpu_task()
// We don't want to open a cell dialog while a native progress dialog is still open.
while (u32 v = g_progr_ptotal)
{
if (Emu.IsStopped())
{
return;
}
g_progr_ptotal.wait(v);
}