From 27e9b57fed849e4c1f77fbc0ae153851919d310a Mon Sep 17 00:00:00 2001 From: "sudonim1@gmail.com" Date: Sat, 25 Jun 2011 14:01:33 +0000 Subject: [PATCH] SPU2-X: Another error in the bitshifts, not sure if it's mine or older. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4769 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/spu2-x/src/Reverb.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/spu2-x/src/Reverb.cpp b/plugins/spu2-x/src/Reverb.cpp index 40b60e4c88..e0af646a5c 100644 --- a/plugins/spu2-x/src/Reverb.cpp +++ b/plugins/spu2-x/src/Reverb.cpp @@ -225,8 +225,8 @@ StereoOut32 V_Core::DoReverb( const StereoOut32& Input ) const s32 acc_fb_mix_a = FB_A0 + (((ACC0 - FB_A0) * Revb.FB_ALPHA) >> 15); const s32 acc_fb_mix_b = FB_A1 + (((ACC1 - FB_A1) * Revb.FB_ALPHA) >> 15); - _spu2mem[mix_dest_b0] = clamp_mix((acc_fb_mix_a - (s32)_spu2mem[fb_src_b0] * Revb.FB_X) >> 15); - _spu2mem[mix_dest_b1] = clamp_mix((acc_fb_mix_b - (s32)_spu2mem[fb_src_b1] * Revb.FB_X) >> 15); + _spu2mem[mix_dest_b0] = clamp_mix(acc_fb_mix_a - ((s32)_spu2mem[fb_src_b0] * Revb.FB_X) >> 15); + _spu2mem[mix_dest_b1] = clamp_mix(acc_fb_mix_b - ((s32)_spu2mem[fb_src_b1] * Revb.FB_X) >> 15); upbuf[ubpos] = clamp_mix( StereoOut32( (_spu2mem[mix_dest_a0] + _spu2mem[mix_dest_b0]), // left