summaryrefslogtreecommitdiff
path: root/arm
diff options
context:
space:
mode:
authorDavid Guillen Fandos2021-05-17 01:14:46 +0200
committerDavid G. F2021-05-17 01:16:56 +0200
commitaafde6de7b2a28c1684c0e9fa62fee9a2a5398dd (patch)
treec4c922c261f73eab6301d82170785d12ddbd79ef /arm
parent2877886ff1217d214dcb052457714ed05e00e02d (diff)
downloadpicogpsp-aafde6de7b2a28c1684c0e9fa62fee9a2a5398dd.tar.gz
picogpsp-aafde6de7b2a28c1684c0e9fa62fee9a2a5398dd.tar.bz2
picogpsp-aafde6de7b2a28c1684c0e9fa62fee9a2a5398dd.zip
Add ROM mirroring and fix mult. cycle count
This should correct some minor issues in some games.
Diffstat (limited to 'arm')
-rw-r--r--arm/arm_emit.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arm/arm_emit.h b/arm/arm_emit.h
index 4516404..4198c7d 100644
--- a/arm/arm_emit.h
+++ b/arm/arm_emit.h
@@ -1239,12 +1239,10 @@ u32 execute_store_cpsr_body(u32 _cpsr, u32 store_mask, u32 address)
#define emit_trace_instruction(pc) \
generate_save_flags(); \
- ARM_LDR_IMM(0, ARMREG_SP, reg_base, 34*4); \
ARM_STMDB_WB(0, ARMREG_SP, 0x500C); \
arm_load_imm_32bit(reg_a0, pc); \
generate_function_call(trace_instruction); \
ARM_LDMIA_WB(0, ARMREG_SP, 0x500C); \
- arm_load_imm_32bit(ARMREG_SP, (u32)reg); \
generate_restore_flags();
#define emit_trace_thumb_instruction(pc) \
emit_trace_instruction(pc)