From 5cb42673edbc2f51b0da7e6c8b8b7ce1613d5159 Mon Sep 17 00:00:00 2001 From: luigi2us Date: Sun, 12 Jul 2009 23:53:21 +0000 Subject: [PATCH] Oops... forgot stream update for light version. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3773 8ced0084-cf51-0410-be5f-012b33b47a6e --- .../Plugin_DSP_HLE/Src/UCodes/UCode_Zelda.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda.cpp b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda.cpp index a11f94ead4..0eb1f34c1a 100644 --- a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda.cpp +++ b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda.cpp @@ -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;