mirror of https://github.com/mgba-emu/mgba.git
Do register writeback in addressing mode 2 before actual load/store
This commit is contained in:
parent
8b1eb01a96
commit
9e578da5a1
|
@ -444,8 +444,8 @@ void ARMStep(struct ARMCore* cpu) {
|
|||
int rm = opcode & 0xF; \
|
||||
UNUSED(rm); \
|
||||
address = ADDRESS; \
|
||||
BODY; \
|
||||
WRITEBACK;)
|
||||
WRITEBACK; \
|
||||
BODY;)
|
||||
|
||||
#define DEFINE_LOAD_STORE_INSTRUCTION_SHIFTER_ARM(NAME, SHIFTER, BODY) \
|
||||
DEFINE_LOAD_STORE_INSTRUCTION_EX_ARM(NAME, ADDR_MODE_2_RN, ADDR_MODE_2_WRITEBACK(ADDR_MODE_2_INDEX(-, SHIFTER)), BODY) \
|
||||
|
|
Loading…
Reference in New Issue