From c9dc18053f71d19d130ea13ab7e3dad446b15eb9 Mon Sep 17 00:00:00 2001 From: ramapcsx2 Date: Sat, 12 Jun 2010 16:45:14 +0000 Subject: [PATCH] SPU2-X: Fix a small bug with voice volume in linear interpolation mode. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3205 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/spu2-x/src/Mixer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/spu2-x/src/Mixer.cpp b/plugins/spu2-x/src/Mixer.cpp index 44f0a49af9..9e78713178 100644 --- a/plugins/spu2-x/src/Mixer.cpp +++ b/plugins/spu2-x/src/Mixer.cpp @@ -458,7 +458,7 @@ static __forceinline s32 GetVoiceValues( V_Core& thiscore, uint voiceidx ) switch( InterpType ) { - case 0: return vc.PV1; + case 0: return vc.PV1<<1; case 1: return (vc.PV1<<1) - (( (vc.PV2 - vc.PV1) * vc.SP)>>11); case 2: return CubicInterpolate (vc.PV4, vc.PV3, vc.PV2, vc.PV1, mu);