Core: In CX86RecompilerOps::CompileLoadMemoryValue instead of checking write to rt being 0 instead use WritesGPR() since LDC1 F0 rt is 0 but it is not writing to r0

This commit is contained in:
zilmar 2023-12-21 10:41:16 +10:30
parent 1810bfda5c
commit b263ee10b0
1 changed files with 1 additions and 1 deletions

View File

@ -10020,7 +10020,7 @@ void CX86RecompilerOps::CompileLoadMemoryValue(asmjit::x86::Gp & AddressReg, asm
m_CodeBlock.Log("");
m_Assembler.bind(JumpFound);
if (m_Opcode.rt == 0)
if (m_Instruction.WritesGPR() == 0)
{
//ignore load to R0
}