[ARM] Fix fastmem...

This commit is contained in:
Ryan Houdek 2013-09-24 18:03:06 +00:00
parent 8e2e5a4e70
commit 405aa30cb8
1 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ const u8 *JitArm::BackPatch(u8 *codePtr, u32, void *ctx_void)
u32 newPC = ctx->CTX_PC - (ARMREGOFFSET + 4 * 4); u32 newPC = ctx->CTX_PC - (ARMREGOFFSET + 4 * 4);
ctx->CTX_PC = newPC; ctx->CTX_PC = newPC;
emitter.FlushIcache(); emitter.FlushIcache();
return codePtr; return (u8*)ctx->CTX_PC;
} }
else else
{ {
@ -146,7 +146,7 @@ const u8 *JitArm::BackPatch(u8 *codePtr, u32, void *ctx_void)
emitter.MOV(rD, R14); // 8 emitter.MOV(rD, R14); // 8
ctx->CTX_PC -= ARMREGOFFSET + (4 * 4); ctx->CTX_PC -= ARMREGOFFSET + (4 * 4);
emitter.FlushIcache(); emitter.FlushIcache();
return codePtr; return (u8*)ctx->CTX_PC;
} }
return 0; return 0;
} }