mirror of https://github.com/mgba-emu/mgba.git
GBA Memory: Fix LDM in BIOS
This commit is contained in:
parent
acb69161bb
commit
2ff5809252
|
@ -680,6 +680,11 @@ uint32_t GBALoadMultiple(struct ARMCore* cpu, uint32_t address, int mask, enum L
|
||||||
address &= 0xFFFFFFFC;
|
address &= 0xFFFFFFFC;
|
||||||
|
|
||||||
switch (address >> BASE_OFFSET) {
|
switch (address >> BASE_OFFSET) {
|
||||||
|
case REGION_BIOS:
|
||||||
|
LDM_LOOP_BEGIN;
|
||||||
|
LOAD_BIOS;
|
||||||
|
LDM_LOOP_END;
|
||||||
|
break;
|
||||||
case REGION_WORKING_RAM:
|
case REGION_WORKING_RAM:
|
||||||
LDM_LOOP_BEGIN;
|
LDM_LOOP_BEGIN;
|
||||||
LOAD_WORKING_RAM;
|
LOAD_WORKING_RAM;
|
||||||
|
|
Loading…
Reference in New Issue