From bb21d4815f67f792fe83c9ccf8ba6f170a49d4d7 Mon Sep 17 00:00:00 2001 From: spacy51 Date: Thu, 28 Aug 2008 12:03:11 +0000 Subject: [PATCH] FIX really use GBA sound when GBA is selected instead of GBC --- src/dmg/gbSound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dmg/gbSound.cpp b/src/dmg/gbSound.cpp index 72c85de2..9588b506 100644 --- a/src/dmg/gbSound.cpp +++ b/src/dmg/gbSound.cpp @@ -143,7 +143,7 @@ static void reset_apu() Gb_Apu::mode_t mode = Gb_Apu::mode_dmg; if ( gbHardware & 1 ) mode = Gb_Apu::mode_cgb; - if ( gbHardware & 4 ) + if ( gbHardware & 8 ) mode = Gb_Apu::mode_agb; gb_apu->reset( mode );