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
This commit is contained in:
sudonim1@gmail.com 2011-06-25 14:01:33 +00:00
parent 244f16c57a
commit 27e9b57fed
1 changed files with 2 additions and 2 deletions

View File

@ -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_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); 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_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_b1] = clamp_mix(acc_fb_mix_b - ((s32)_spu2mem[fb_src_b1] * Revb.FB_X) >> 15);
upbuf[ubpos] = clamp_mix( StereoOut32( upbuf[ubpos] = clamp_mix( StereoOut32(
(_spu2mem[mix_dest_a0] + _spu2mem[mix_dest_b0]), // left (_spu2mem[mix_dest_a0] + _spu2mem[mix_dest_b0]), // left