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
This commit is contained in:
ramapcsx2 2010-06-12 16:45:14 +00:00
parent 5e33e270fd
commit c9dc18053f
1 changed files with 1 additions and 1 deletions

View File

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