From c302db8755550c4eb343e962839ae8ad70d374c9 Mon Sep 17 00:00:00 2001 From: Chris Moeller Date: Mon, 21 Oct 2013 14:32:14 -0700 Subject: [PATCH] Fixed Mother 3, and possibly other weird stuff --- 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 24016cbdd..e073dbfbd 100644 --- a/Frameworks/HighlyAdvanced/HighlyAdvanced/vbam/gba/Sound.cpp +++ b/Frameworks/HighlyAdvanced/HighlyAdvanced/vbam/gba/Sound.cpp @@ -130,7 +130,7 @@ void Gba_Pcm_Fifo::timer_overflowed( int which_timer ) { // Need to fill FIFO CPUCheckDMA( gba, 3, which ? 4 : 2 ); - if ( count <= 16 ) + if ( count == 0 ) // Mother 3 with the new core timing likes to fall through with a count of 16 due to stopping DMA on its own, but it never falls as low as 0 { // Not filled by DMA, so fill with 16 bytes of silence int reg = which ? FIFOB_L : FIFOA_L;