From ee86f4cd29d763aaca8a07dbef0130cfdfd33e8a Mon Sep 17 00:00:00 2001 From: "XTra.KrazzY" Date: Wed, 1 Jul 2009 22:47:19 +0000 Subject: [PATCH] Temporary, somewhat hacky solution to the 0x21 hangs in the zelda ucode. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3640 8ced0084-cf51-0410-be5f-012b33b47a6e --- .../Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda_Voice.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda_Voice.cpp b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda_Voice.cpp index 3c4f1beb74..3b999c13fd 100644 --- a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda_Voice.cpp +++ b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda_Voice.cpp @@ -325,7 +325,6 @@ void CUCode_Zelda::RenderAddVoice(ZeldaVoicePB &PB, s32* _LeftBuffer, s32* _Righ // XK: Use this to disable music (GREAT for testing) //if(PB.SoundType == 0x0d00) // break; - RenderVoice_AFC(PB, m_TempBuffer, _Size); break; @@ -338,6 +337,9 @@ void CUCode_Zelda::RenderAddVoice(ZeldaVoicePB &PB, s32* _LeftBuffer, s32* _Righ case 0x0020: case 0x0021: // Important for Zelda WW. Really need to implement - missing it causes hangs. WARN_LOG(DSPHLE, "Unimplemented MixAddVoice format in zelda %04x", PB.Format); + PB.ReachedEnd = 1; + PB.KeyOff = 1; + PB.Status = 0; break; default: