Oops... forgot stream update for light version.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3773 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
luigi2us 2009-07-12 23:53:21 +00:00
parent ddd09eda84
commit 5cb42673ed
1 changed files with 8 additions and 4 deletions

View File

@ -340,12 +340,16 @@ void CUCode_Zelda::ExecuteList()
// SyncFrame ... zelda ww jumps to 0x0243
case 0x02:
{
//soundStream->GetMixer()->SetHLEReady(true);
// DEBUG_LOG(DSPHLE, "Update the SoundThread to be in sync");
//soundStream->Update(); //do it in this thread to avoid sync problems
if (!IsLightVersion())
{
m_bSyncCmdPending = true;
}
else
{
soundStream->GetMixer()->SetHLEReady(true);
DEBUG_LOG(DSPHLE, "Update the SoundThread to be in sync");
soundStream->Update(); //do it in this thread to avoid sync problems
}
m_CurBuffer = 0;
m_NumBuffers = (CmdMail >> 16) & 0xFF;