Don't add lonely cpu_flag::memory on TSX path (bug)

This commit is contained in:
Nekotekina 2020-11-14 09:03:33 +03:00
parent 0c7f9458c0
commit 71ca413067

View file

@ -800,7 +800,7 @@ void ppu_thread::cpu_sleep()
raddr = 0;
// Setup wait flag and memory flags to relock itself
state += cpu_flag::wait + cpu_flag::memory;
state += g_use_rtm ? cpu_flag::wait : cpu_flag::wait + cpu_flag::memory;
if (auto ptr = vm::g_tls_locked)
{