all repos — mgba @ 77ec5e6e91dec006cc9975315a04c5be40f4782b

mGBA Game Boy Advance Emulator

GBA: Set up GPIO mapping on null and ELF ROM regions (fixes #1481)
Vicki Pfau vi@endrift.com
Mon, 01 Jul 2019 20:11:45 -0700
commit

77ec5e6e91dec006cc9975315a04c5be40f4782b

parent

3cb6de808a2dd7e2675de8f37b0aebbcc4c3289a

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -44,6 +44,7 @@ - GBA Cheats: Fix PARv3 Thumb hooks

- mGUI: Fix crash if last loaded ROM directory disappears (fixes mgba.io/i/1466) - Libretro: Fix crash changing allowing opposing directions (hhromic) - Qt: Fix race conditions initializing GDB stub + - GBA: Set up GPIO mapping on null and ELF ROM regions (fixes mgba.io/i/1481) Misc: - GBA Savedata: EEPROM performance fixes - GBA Savedata: Automatically map 1Mbit Flash files as 1Mbit Flash
M src/gba/gba.csrc/gba/gba.c

@@ -342,6 +342,7 @@

if (gba->cpu) { gba->cpu->memory.setActiveRegion(gba->cpu, gba->cpu->gprs[ARM_PC]); } + GBAHardwareInit(&gba->memory.hw, &((uint16_t*) gba->memory.rom)[GPIO_REG_DATA >> 1]); return true; }