From 668085e5a1cd3caa5fd80712f28dd71be898655e Mon Sep 17 00:00:00 2001 From: John Peterson Date: Mon, 10 Nov 2008 20:41:02 +0000 Subject: [PATCH] Fixed typo git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1112 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AX_ADPCM.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AX_ADPCM.h b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AX_ADPCM.h index 029ed3e838..c612dec541 100644 --- a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AX_ADPCM.h +++ b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AX_ADPCM.h @@ -68,7 +68,7 @@ inline u16 ADPCM_Vol(u16 vol, u16 delta, u16 mixer_control) if (delta && delta < 0x5000) x += delta * 20 * 8; // unsure what the right step is //x += 1 * 20 * 8; - else if (delta && delta > 05000) + else if (delta && delta > 0x5000) //x -= (0x10000 - delta); // this is to small, it's often 1 x -= (0x10000 - delta) * 20 * 16; // if this was 20 * 8 the sounds in Fire Emblem and Paper Mario // did not have time to go to zero before the were closed