From 8fe9db180c83df571f7f6ead000a44013068047b Mon Sep 17 00:00:00 2001 From: Shawn Hoffman Date: Sun, 5 Jul 2009 21:34:57 +0000 Subject: [PATCH] dsp hle: fix a hang some people were having with zelda ucode. doesn't seem to break SMG...I'm really not sure either one is the correct behavior though. (some dsp master check!) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3687 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 2345bb4493..55c9024ce2 100644 --- a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda.cpp +++ b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda.cpp @@ -92,7 +92,7 @@ CUCode_Zelda::~CUCode_Zelda() void CUCode_Zelda::Update(int cycles) { - if (m_rMailHandler.GetNextMail() == DSP_FRAME_END) + if (!m_rMailHandler.IsEmpty()) g_dspInitialize.pGenerateDSPInterrupt(); }