summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorXTra.KrazzY <XTra.KrazzY@gmail.com>2009-07-01 22:47:19 +0000
committerXTra.KrazzY <XTra.KrazzY@gmail.com>2009-07-01 22:47:19 +0000
commitee86f4cd29d763aaca8a07dbef0130cfdfd33e8a (patch)
treef3994e38942f2f3f2419eb956d0b9343c2456add /Source
parent599c9fd15c5d151ca30bb7e972f2c1eadf111027 (diff)
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
Diffstat (limited to 'Source')
-rw-r--r--Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda_Voice.cpp4
1 files changed, 3 insertions, 1 deletions
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: