Merge pull request #897 from PCSX2/coverity-spu2x-mixer

spu2x: correctly apply the volume to the external source
This commit is contained in:
Gregory Hainaut 2015-10-31 20:10:43 +01:00
commit c3d8cc0978
1 changed files with 1 additions and 1 deletions

View File

@ -860,7 +860,7 @@ void Mix()
spu2M_WriteFast( 0xA00 + OutPos, Ext.Right );
WaveDump::WriteCore( 0, CoreSrc_External, Ext );
ApplyVolume( Ext, Cores[1].ExtVol );
Ext = ApplyVolume( Ext, Cores[1].ExtVol );
StereoOut32 Out( Cores[1].Mix( VoiceData[1], InputData[1], Ext ) );
if( PlayMode & 8 )