Core: fix CX86RecompilerOps::LD when rt==base

This commit is contained in:
zilmar 2022-10-10 12:41:12 +10:30
parent 96cece6cd9
commit 0ffaf43418
1 changed files with 1 additions and 5 deletions

View File

@ -4002,11 +4002,7 @@ void CX86RecompilerOps::LD()
ProtectGPR(m_Opcode.rt);
}
Map_GPR_64bit(m_Opcode.rt, -1);
if (m_Opcode.rt == m_Opcode.base)
{
g_Notify->BreakPoint(__FILE__, __LINE__);
}
Map_GPR_64bit(m_Opcode.rt, m_Opcode.rt == m_Opcode.base ? m_Opcode.base : -1);
CompileLoadMemoryValue(CX86Ops::x86_Unknown, GetMipsRegMapLo(m_Opcode.rt), GetMipsRegMapHi(m_Opcode.rt), 64, false);
}
if (g_System->bFastSP() && m_Opcode.rt == 29)