Fixed typo

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1112 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson 2008-11-10 20:41:02 +00:00
parent fe19642762
commit 668085e5a1
1 changed files with 1 additions and 1 deletions

View File

@ -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