From 8061bbfd96bc6bc79cdbd260b7e25ea1e42f46b6 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Mon, 15 Feb 2016 01:04:29 -0800 Subject: [PATCH] GBA BIOS: Fix RegisterRamReset setting DISPCNT to the wrong value --- CHANGES | 1 + src/gba/bios.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 2e1d98dad..c1ce8a2e6 100644 --- a/CHANGES +++ b/CHANGES @@ -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 diff --git a/src/gba/bios.c b/src/gba/bios.c index 539dcb794..5afdd73df 100644 --- a/src/gba/bios.c +++ b/src/gba/bios.c @@ -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);