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:
parent
e07a9b107a
commit
67d5d89388
|
@ -361,6 +361,7 @@ bool DVDReadADPCM(u8* _pDestBuffer, u32 _iNumSamples)
|
||||||
AudioPos += _iNumSamples;
|
AudioPos += _iNumSamples;
|
||||||
if (AudioPos >= AudioStart + AudioLength)
|
if (AudioPos >= AudioStart + AudioLength)
|
||||||
{
|
{
|
||||||
|
g_bStream = false; // Starfox Adventures
|
||||||
AudioPos = AudioStart;
|
AudioPos = AudioStart;
|
||||||
NGCADPCM::InitFilter();
|
NGCADPCM::InitFilter();
|
||||||
}
|
}
|
||||||
|
@ -812,7 +813,7 @@ void ExecuteCommand(UDICR& _DICR)
|
||||||
// Request Audio Status (Immediate)
|
// Request Audio Status (Immediate)
|
||||||
case 0xE2:
|
case 0xE2:
|
||||||
m_DIIMMBUF.Hex = g_bStream ? 1 : 0;
|
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;
|
break;
|
||||||
|
|
||||||
case DVDLowStopMotor:
|
case DVDLowStopMotor:
|
||||||
|
|
Loading…
Reference in New Issue