mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
5e33e270fd
commit
c9dc18053f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue