mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 21:58:48 +00:00
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:
parent
4fafa954a1
commit
3b62e8b798
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue