Fix minor Zelda Ucode audio corruption.

Stupid mistake in my previous commit; the value of m_CurBuffer was
off-by-one.
This commit is contained in:
magumagu 2014-03-26 14:34:00 -07:00
parent 4fafa954a1
commit 3b62e8b798

View File

@ -294,10 +294,10 @@ void CUCode_Zelda::HandleMail_NormalVersion(u32 _uMail)
if (m_CurVoice >= m_NumVoices) if (m_CurVoice >= m_NumVoices)
{ {
m_CurBuffer++;
MixAudio(); MixAudio();
m_CurBuffer++;
m_rMailHandler.PushMail(DSP_SYNC); m_rMailHandler.PushMail(DSP_SYNC);
DSP::GenerateDSPInterruptFromDSPEmu(DSP::INT_DSP); DSP::GenerateDSPInterruptFromDSPEmu(DSP::INT_DSP);
m_rMailHandler.PushMail(0xF355FF00 | m_CurBuffer); m_rMailHandler.PushMail(0xF355FF00 | m_CurBuffer);