GBA Memory: Fix LDM in BIOS

This commit is contained in:
Jeffrey Pfau 2014-11-02 01:31:35 -07:00
parent acb69161bb
commit 2ff5809252
1 changed files with 5 additions and 0 deletions

View File

@ -680,6 +680,11 @@ uint32_t GBALoadMultiple(struct ARMCore* cpu, uint32_t address, int mask, enum L
address &= 0xFFFFFFFC;
switch (address >> BASE_OFFSET) {
case REGION_BIOS:
LDM_LOOP_BEGIN;
LOAD_BIOS;
LDM_LOOP_END;
break;
case REGION_WORKING_RAM:
LDM_LOOP_BEGIN;
LOAD_WORKING_RAM;