From 9a4be28903a1307889b9bc1667ce1c9e8b2fc374 Mon Sep 17 00:00:00 2001 From: Chris Moeller Date: Mon, 21 Oct 2013 14:49:38 -0700 Subject: [PATCH] The rest of the fix, it should fill the FIFO completely --- Frameworks/HighlyAdvanced/HighlyAdvanced/vbam/gba/Sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frameworks/HighlyAdvanced/HighlyAdvanced/vbam/gba/Sound.cpp b/Frameworks/HighlyAdvanced/HighlyAdvanced/vbam/gba/Sound.cpp index e073dbfbd..527a2b3a9 100644 --- a/Frameworks/HighlyAdvanced/HighlyAdvanced/vbam/gba/Sound.cpp +++ b/Frameworks/HighlyAdvanced/HighlyAdvanced/vbam/gba/Sound.cpp @@ -134,7 +134,7 @@ void Gba_Pcm_Fifo::timer_overflowed( int which_timer ) { // Not filled by DMA, so fill with 16 bytes of silence int reg = which ? FIFOB_L : FIFOA_L; - for ( int n = 4; n--; ) + for ( int n = 8; n--; ) { soundEvent(gba, reg , (u16)0); soundEvent(gba, reg+2, (u16)0);