diff --git a/Source/Project64-core/N64System/Recompiler/x86/x86RecompilerOps.cpp b/Source/Project64-core/N64System/Recompiler/x86/x86RecompilerOps.cpp index 8e00096a5..4b9847de5 100644 --- a/Source/Project64-core/N64System/Recompiler/x86/x86RecompilerOps.cpp +++ b/Source/Project64-core/N64System/Recompiler/x86/x86RecompilerOps.cpp @@ -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);