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
This commit is contained in:
Marko Pusljar 2010-06-26 10:46:13 +00:00
parent e07a9b107a
commit 67d5d89388
1 changed files with 2 additions and 1 deletions

View File

@ -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: