mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
244f16c57a
commit
27e9b57fed
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue