Skip to content

Commit

Permalink
Merge pull request #18293 from unknownbrackets/x86-ir
Browse files Browse the repository at this point in the history
x86: Fix 32-bit IR jit block entry
  • Loading branch information
hrydgard committed Oct 3, 2023
2 parents 008055d + 521335c commit cd0b4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/MIPS/x86/X64IRAsm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ void X64JitBackend::GenerateFixedCode(MIPSState *mipsState) {
FixupBranch needsCompile = J_CC(CC_NE);
// We don't mask here - that's baked into jitbase.
#if PPSSPP_ARCH(X86)
LEA(32, SCRATCH1, MDisp(SCRATCH1, (u32)GetBasePtr() - MIPS_EMUHACK_VALUE_MASK));
LEA(32, SCRATCH1, MDisp(SCRATCH1, (u32)GetBasePtr() - MIPS_EMUHACK_OPCODE));
#elif PPSSPP_ARCH(AMD64)
if (jitbaseInR15) {
ADD(64, R(SCRATCH1), R(JITBASEREG));
Expand Down

0 comments on commit cd0b4fc

Please sign in to comment.