Fixup for cpu_flag::pause state check after #8114

This commit is contained in:
Eladash 2020-04-29 05:24:28 +03:00
parent d66bdf1653
commit 954e3f6e6c
2 changed files with 17 additions and 6 deletions

View file

@ -1041,7 +1041,9 @@ static T ppu_load_acquire_reservation(ppu_thread& ppu, u32 addr)
}
else
{
ppu.state += cpu_flag::wait;
std::this_thread::yield();
ppu.check_state();
}
}())
{