[JIT]: Fix argument bug in LW

This commit is contained in:
SimoneN64
2025-01-23 23:40:05 +01:00
parent a1a19e72cd
commit d4ad92a67d

View File

@@ -1111,7 +1111,7 @@ void JIT::lw(u32 instr) {
} }
code.mov(code.ARG2, Cop0::LOAD); code.mov(code.ARG2, Cop0::LOAD);
regs.Read<s64>(RS(instr), code.rdx); regs.Read<s64>(RS(instr), code.ARG3);
code.add(code.ARG3, offset); code.add(code.ARG3, offset);
code.mov(code.ARG4, reinterpret_cast<uintptr_t>(&paddr)); code.mov(code.ARG4, reinterpret_cast<uintptr_t>(&paddr));
emitMemberFunctionCall(&Cop0::MapVAddr, &regs.cop0); emitMemberFunctionCall(&Cop0::MapVAddr, &regs.cop0);