mirror of https://github.com/mgba-emu/mgba.git
Fix addressing mode 3 immediate
This commit is contained in:
parent
b5cbd55718
commit
0048de2108
|
@ -244,7 +244,7 @@ void ARMStep(struct ARMCore* cpu) {
|
|||
#define ADDR_MODE_3_ADDRESS ADDR_MODE_2_ADDRESS
|
||||
#define ADDR_MODE_3_RN ADDR_MODE_2_RN
|
||||
#define ADDR_MODE_3_RM ADDR_MODE_2_RM
|
||||
#define ADDR_MODE_3_IMMEDIATE ADDR_MODE_2_IMMEDIATE
|
||||
#define ADDR_MODE_3_IMMEDIATE ((opcode & 0x00000F00) >> 4) | (opcode & 0x0000000F)
|
||||
#define ADDR_MODE_3_INDEX(U_OP, M) ADDR_MODE_2_INDEX(U_OP, M)
|
||||
#define ADDR_MODE_3_WRITEBACK(ADDR) ADDR_MODE_2_WRITEBACK(ADDR)
|
||||
|
||||
|
|
Loading…
Reference in New Issue