From 67d5d89388feed96f0c30f91e26c079c94496858 Mon Sep 17 00:00:00 2001 From: Marko Pusljar Date: Sat, 26 Jun 2010 10:46:13 +0000 Subject: [PATCH] Starfox Adventures DTK audio loop fix (thanx to James333) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5791 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/HW/DVDInterface.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/HW/DVDInterface.cpp b/Source/Core/Core/Src/HW/DVDInterface.cpp index 986e39afca..cdb2815c57 100644 --- a/Source/Core/Core/Src/HW/DVDInterface.cpp +++ b/Source/Core/Core/Src/HW/DVDInterface.cpp @@ -361,6 +361,7 @@ bool DVDReadADPCM(u8* _pDestBuffer, u32 _iNumSamples) AudioPos += _iNumSamples; if (AudioPos >= AudioStart + AudioLength) { + g_bStream = false; // Starfox Adventures AudioPos = AudioStart; NGCADPCM::InitFilter(); } @@ -812,7 +813,7 @@ void ExecuteCommand(UDICR& _DICR) // Request Audio Status (Immediate) case 0xE2: m_DIIMMBUF.Hex = g_bStream ? 1 : 0; - WARN_LOG(DVDINTERFACE, "(Audio): Request Audio status %s", g_bStream? "on":"off"); + //WARN_LOG(DVDINTERFACE, "(Audio): Request Audio status %s", g_bStream? "on":"off"); break; case DVDLowStopMotor: