Skip to content

Commit

Permalink
Merge pull request #11676 from AdmiralCurtiss/arm-jit-fix
Browse files Browse the repository at this point in the history
JitArm64: Use 64-bit register for pointer when falling back to interpreter.
  • Loading branch information
AdmiralCurtiss committed Mar 21, 2023
2 parents 744e14b + 8f16fd6 commit 2cffdfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/PowerPC/JitArm64/Jit.cpp
Expand Up @@ -199,7 +199,7 @@ void JitArm64::FallBackToInterpreter(UGeckoInstruction inst)

Interpreter::Instruction instr = Interpreter::GetInterpreterOp(inst);
MOVP2R(ARM64Reg::X8, instr);
MOVP2R(ARM64Reg::W0, &Core::System::GetInstance().GetInterpreter());
MOVP2R(ARM64Reg::X0, &Core::System::GetInstance().GetInterpreter());
MOVI2R(ARM64Reg::W1, inst.hex);
BLR(ARM64Reg::X8);

Expand Down

0 comments on commit 2cffdfe

Please sign in to comment.