Don't add lonely cpu_flag::memory on TSX path (bug)
This commit is contained in:
@@ -516,7 +516,7 @@ std::string ppu_thread::dump_regs() const
|
|||||||
for (uint i = 0; i < 32; ++i, ret += '\n')
|
for (uint i = 0; i < 32; ++i, ret += '\n')
|
||||||
{
|
{
|
||||||
fmt::append(ret, "v%d%s: ", i, i <= 9 ? " " : "");
|
fmt::append(ret, "v%d%s: ", i, i <= 9 ? " " : "");
|
||||||
|
|
||||||
const auto r = vr[i];
|
const auto r = vr[i];
|
||||||
const u32 i3 = r.u32r[0];
|
const u32 i3 = r.u32r[0];
|
||||||
|
|
||||||
@@ -800,7 +800,7 @@ void ppu_thread::cpu_sleep()
|
|||||||
raddr = 0;
|
raddr = 0;
|
||||||
|
|
||||||
// Setup wait flag and memory flags to relock itself
|
// 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)
|
if (auto ptr = vm::g_tls_locked)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user