Fix cpu_flag::temp, make sure it removes cpu_flag::wait

This commit is contained in:
Nekotekina 2020-10-26 20:14:16 +03:00
parent 86785dffa4
commit d6daa0d05b
4 changed files with 19 additions and 24 deletions

View file

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