Core: Have CX86RecompilerOps::SPECIAL_XOR treat R0 as 64bit constant

This commit is contained in:
zilmar 2024-11-28 15:38:54 +10:30
parent a3c777ed84
commit 95015302d6
1 changed files with 1 additions and 1 deletions

View File

@ -6012,7 +6012,7 @@ void CX86RecompilerOps::SPECIAL_XOR()
{
uint64_t Value;
if (m_RegWorkingSet.Is64Bit(KnownReg))
if (m_RegWorkingSet.Is64Bit(KnownReg) || KnownReg == 0)
{
Value = m_RegWorkingSet.GetMipsReg(KnownReg);
m_RegWorkingSet.Map_GPR_64bit(m_Opcode.rd, UnknownReg);