Jit64: Set correct PC when emitting slowmem trampoline
This commit is contained in:
parent
c81ac1a81d
commit
7f3c31d78d
|
@ -70,6 +70,7 @@ bool Jitx86Base::BackPatch(u32 emAddress, SContext* ctx)
|
|||
|
||||
js.generatingTrampoline = true;
|
||||
js.trampolineExceptionHandler = exceptionHandler;
|
||||
js.compilerPC = info.pc;
|
||||
|
||||
// Generate the trampoline.
|
||||
const u8* trampoline = trampolines.GenerateTrampoline(info);
|
||||
|
|
|
@ -63,9 +63,6 @@ const u8* TrampolineCache::GenerateWriteTrampoline(const TrampolineInfo& info)
|
|||
// Don't treat FIFO writes specially for now because they require a burst
|
||||
// check anyway.
|
||||
|
||||
// PC is used by memory watchpoints (if enabled) or to print accurate PC locations in debug logs
|
||||
MOV(32, PPCSTATE(pc), Imm32(info.pc));
|
||||
|
||||
SafeWriteRegToReg(info.op_arg, info.op_reg, info.accessSize << 3, info.offset,
|
||||
info.registersInUse, info.flags | SAFE_LOADSTORE_FORCE_SLOWMEM);
|
||||
|
||||
|
|
Loading…
Reference in New Issue