Skip to content

Commit

Permalink
[ARM] Fix fastmem...
Browse files Browse the repository at this point in the history
  • Loading branch information
Sonicadvance1 committed Sep 24, 2013
1 parent 8e2e5a4 commit 405aa30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/Core/Src/PowerPC/JitArm32/JitArm_BackPatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const u8 *JitArm::BackPatch(u8 *codePtr, u32, void *ctx_void)
u32 newPC = ctx->CTX_PC - (ARMREGOFFSET + 4 * 4);
ctx->CTX_PC = newPC;
emitter.FlushIcache();
return codePtr;
return (u8*)ctx->CTX_PC;
}
else
{
Expand All @@ -146,7 +146,7 @@ const u8 *JitArm::BackPatch(u8 *codePtr, u32, void *ctx_void)
emitter.MOV(rD, R14); // 8
ctx->CTX_PC -= ARMREGOFFSET + (4 * 4);
emitter.FlushIcache();
return codePtr;
return (u8*)ctx->CTX_PC;
}
return 0;
}
Expand Down

0 comments on commit 405aa30

Please sign in to comment.