mirror of https://github.com/mgba-emu/mgba.git
ARM: Fix LDM^ writeback to user-mode register
This commit is contained in:
parent
2ec57def29
commit
8ef0427885
1
CHANGES
1
CHANGES
|
@ -5,6 +5,7 @@ Features:
|
|||
Emulation fixes:
|
||||
- ARM: Fix ALU reading PC after shifting
|
||||
- ARM: Fix STR storing PC after address calculation
|
||||
- ARM: Fix LDM^ writeback to user-mode register
|
||||
- GB: Partially fix timing for skipped BIOS
|
||||
- GB Memory: Fix OAM DMA from top 8 kB
|
||||
- GB MBC: Fix MBC1 mode changing behavior
|
||||
|
|
|
@ -446,9 +446,9 @@ ATTRIBUTE_NOINLINE static void _neutralS(struct ARMCore* cpu, int32_t d) {
|
|||
uint32_t address = cpu->gprs[rn]; \
|
||||
S_PRE; \
|
||||
address = cpu->memory. LS ## Multiple(cpu, address, rs, LSM_ ## DIRECTION, ¤tCycles); \
|
||||
WRITEBACK; \
|
||||
S_POST; \
|
||||
POST_BODY; \
|
||||
WRITEBACK;)
|
||||
POST_BODY;)
|
||||
|
||||
|
||||
#define DEFINE_LOAD_STORE_MULTIPLE_INSTRUCTION_ARM(NAME, LS, POST_BODY) \
|
||||
|
|
Loading…
Reference in New Issue