ARM: Fix LDM^ writeback to user-mode register

This commit is contained in:
Vicki Pfau 2020-06-26 01:17:19 -07:00
parent 8da1cdc63d
commit f6cb2c4a0a
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
0.8.3: (Future)
Emulation fixes:
- ARM: Fix LDM^ writeback to user-mode register
- GB Memory: Fix OAM DMA from top 8 kB
- GB MBC: Fix MBC1 RAM enable bit selection
- GB MBC: Fix MBC2 bit selection

View File

@ -439,9 +439,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, &currentCycles); \
WRITEBACK; \
S_POST; \
POST_BODY; \
WRITEBACK;)
POST_BODY;)
#define DEFINE_LOAD_STORE_MULTIPLE_INSTRUCTION_ARM(NAME, LS, POST_BODY) \