all repos — mgba @ 5c2dbc59a1df816dc836ef2c05abae02bd543dbd

mGBA Game Boy Advance Emulator

GBA BIOS: Fix RegisterRamReset setting DISPCNT to the wrong value
Jeffrey Pfau jeffrey@endrift.com
Mon, 15 Feb 2016 01:04:29 -0800
commit

5c2dbc59a1df816dc836ef2c05abae02bd543dbd

parent

2eb5696ff7484a0dff996a96712c55e3606559cf

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

jump to
M CHANGESCHANGES

@@ -5,6 +5,7 @@ Bugfixes:

- VFS: Fix reading 7z archives without rewinding first - Qt: Fix sending gameStopped twice - Qt: Fix hang if audio sync is enabled and audio fails to initialize + - GBA BIOS: Fix RegisterRamReset setting DISPCNT to the wrong value Misc: - GBA: Slightly optimize GBAProcessEvents
M src/gba/bios.csrc/gba/bios.c

@@ -90,7 +90,6 @@ cpu->memory.store16(cpu, BASE_IO | REG_SOUNDBIAS, 0x200, 0);

memset(gba->audio.psg.ch3.wavedata32, 0, sizeof(gba->audio.psg.ch3.wavedata32)); } if (registers & 0x80) { - cpu->memory.store16(cpu, BASE_IO | 0x00, 0, 0); cpu->memory.store16(cpu, BASE_IO | 0x04, 0, 0); cpu->memory.store16(cpu, BASE_IO | 0x06, 0, 0); cpu->memory.store16(cpu, BASE_IO | 0x08, 0, 0);