From 47a1d2da9c0f540eb2e8e1af3beccfd297ed4e87 Mon Sep 17 00:00:00 2001 From: "XTra.KrazzY" Date: Fri, 18 Sep 2009 00:12:10 +0000 Subject: [PATCH] DSP HLE: External ops oops (thanks, lordmark) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4294 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda_Synth.cpp | 2 +- docs/DSP/DSP_UC_Zelda.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda_Synth.cpp b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda_Synth.cpp index 17ffa251f8..c2947e1bcc 100644 --- a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda_Synth.cpp +++ b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_Zelda_Synth.cpp @@ -154,7 +154,7 @@ void CUCode_Zelda::RenderSynth_WaveTable(ZeldaVoicePB &PB, s32* _Buffer, int _Si _Buffer[i] = m_MiscTable[address]; ACC0 += PB.RatioInt << 5; - address += ((ACC0 >> 16) & 0x003f) - 1; + address += ((ACC0 >> 16) & 0x003f); ACC0 &= 0xffff; } diff --git a/docs/DSP/DSP_UC_Zelda.txt b/docs/DSP/DSP_UC_Zelda.txt index 6fda79c918..c74fc94f9b 100644 --- a/docs/DSP/DSP_UC_Zelda.txt +++ b/docs/DSP/DSP_UC_Zelda.txt @@ -3248,7 +3248,7 @@ void 091c_Decoder0x7_WaveTable(ACC0, AR0, AX0.L) { // 0930 4c4a add'l $ACC0, $ACC1 : $AX1.L, @$AR2 ACC0 += ACC1; - AX1.L = *AR2; + AX1.L = *AR2++; // 0931 3606 andr'dr $AC0.M, $AX1.H : $AR2 AC0.M &= 0x003f;