Fixup for cpu_flag::temp

Wrong check_state() result was triggering assertion.
This commit is contained in:
Nekotekina 2020-10-26 01:16:16 +03:00
parent d344701fd5
commit f1e66085cd
3 changed files with 5 additions and 4 deletions

View file

@ -1221,7 +1221,7 @@ static T ppu_load_acquire_reservation(ppu_thread& ppu, u32 addr)
{
ppu.state += cpu_flag::wait + cpu_flag::temp;
std::this_thread::yield();
ppu.check_state();
verify(HERE), !ppu.check_state();
}
}())
{