GBA BIOS: Fix RegisterRamReset setting DISPCNT to the wrong value

This commit is contained in:
Jeffrey Pfau 2016-02-15 01:04:29 -08:00
parent dc8c5fe0f2
commit 8061bbfd96
2 changed files with 1 additions and 1 deletions

View File

@ -3,6 +3,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

View File

@ -88,7 +88,6 @@ static void _RegisterRamReset(struct GBA* gba) {
memset(gba->audio.ch3.wavedata, 0, sizeof(gba->audio.ch3.wavedata));
}
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);