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:
parent
ddd09eda84
commit
5cb42673ed
|
@ -340,12 +340,16 @@ void CUCode_Zelda::ExecuteList()
|
||||||
// SyncFrame ... zelda ww jumps to 0x0243
|
// SyncFrame ... zelda ww jumps to 0x0243
|
||||||
case 0x02:
|
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())
|
if (!IsLightVersion())
|
||||||
|
{
|
||||||
m_bSyncCmdPending = true;
|
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_CurBuffer = 0;
|
||||||
m_NumBuffers = (CmdMail >> 16) & 0xFF;
|
m_NumBuffers = (CmdMail >> 16) & 0xFF;
|
||||||
|
|
Loading…
Reference in New Issue