summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authormagumagu <magumagu9@gmail.com>2014-03-26 15:17:37 -0700
committermagumagu <magumagu9@gmail.com>2014-03-26 15:17:37 -0700
commitf8b7a2fc10494d043d5125ae015e3e8f2c0d2fe3 (patch)
tree5a379bda950357653479733f1e12d3b4881d958c /Source/Core
parente9896c1ff9ceb1a803a9b510b98b0005992d82d2 (diff)
Add audio output for Zelda Ucode variants.
Untested.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/HW/DSPHLE/UCodes/UCode_Zelda.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/Core/HW/DSPHLE/UCodes/UCode_Zelda.cpp b/Source/Core/Core/HW/DSPHLE/UCodes/UCode_Zelda.cpp
index 4d0ed492d0..ffd50d6b63 100644
--- a/Source/Core/Core/HW/DSPHLE/UCodes/UCode_Zelda.cpp
+++ b/Source/Core/Core/HW/DSPHLE/UCodes/UCode_Zelda.cpp
@@ -130,6 +130,9 @@ void CUCode_Zelda::HandleMail_LightVersion(u32 _uMail)
if (m_bSyncCmdPending)
{
DSP::GenerateDSPInterruptFromDSPEmu(DSP::INT_DSP);
+
+ MixAudio();
+
m_CurBuffer++;
if (m_CurBuffer == m_NumBuffers)
@@ -188,6 +191,8 @@ void CUCode_Zelda::HandleMail_SMSVersion(u32 _uMail)
m_NumSyncMail = 0;
m_bSyncInProgress = false;
+ MixAudio();
+
m_CurBuffer++;
m_rMailHandler.PushMail(DSP_SYNC);