all repos — mgba @ 2ff580925222a8cc8012b641a0d4193986664257

mGBA Game Boy Advance Emulator

GBA Memory: Fix LDM in BIOS
Jeffrey Pfau jeffrey@endrift.com
Sun, 02 Nov 2014 01:31:35 -0700
commit

2ff580925222a8cc8012b641a0d4193986664257

parent

acb69161bbd1a3e462c891eda8b729d53dbb511b

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M src/gba/gba-memory.csrc/gba/gba-memory.c

@@ -680,6 +680,11 @@ uint32_t addressMisalign = address & 0x3;

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;