From 1b37289890c9e876ee0a8edd22ff534790bf0900 Mon Sep 17 00:00:00 2001 From: David Guillen Fandos Date: Sun, 15 Aug 2021 22:13:33 +0200 Subject: [PATCH] Fix MIPS instruction tracing --- psp/mips_emit.h | 1 + 1 file changed, 1 insertion(+) diff --git a/psp/mips_emit.h b/psp/mips_emit.h index aa8f55a..1e6c635 100644 --- a/psp/mips_emit.h +++ b/psp/mips_emit.h @@ -2355,6 +2355,7 @@ u32 execute_store_cpsr_body(u32 _cpsr, u32 store_mask, u32 address) emit_save_regs(false); \ generate_load_imm(reg_a0, pc); \ genccall(&trace_instruction); \ + mips_emit_nop(); \ emit_restore_regs(false) #define emit_trace_thumb_instruction(pc) emit_trace_instruction(pc) #define emit_trace_arm_instruction(pc) emit_trace_instruction(pc)