diff options
author | notaz | 2011-02-03 23:56:14 +0200 |
---|---|---|
committer | notaz | 2011-02-04 15:11:59 +0200 |
commit | 9098b863732585e49d22dba266c4f342ed1ecaa6 (patch) | |
tree | d9096ecddefcb69a65bb308f971e787450509afd | |
parent | 495eab932257c0925a4ab89071c43249ec1d1698 (diff) | |
download | pcsx_rearmed-9098b863732585e49d22dba266c4f342ed1ecaa6.tar.gz pcsx_rearmed-9098b863732585e49d22dba266c4f342ed1ecaa6.tar.bz2 pcsx_rearmed-9098b863732585e49d22dba266c4f342ed1ecaa6.zip |
spu: fix xa masking, was causing noise
-rw-r--r-- | plugins/dfsound/xa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/dfsound/xa.c b/plugins/dfsound/xa.c index fdae4f9..df60346 100644 --- a/plugins/dfsound/xa.c +++ b/plugins/dfsound/xa.c @@ -359,7 +359,6 @@ INLINE void FeedXA(xa_decode_t *xap) vr+=(gauss[vl+2]*gvall(2))&~2047; vr+=(gauss[vl+3]*gvall(3))&~2047; l=s= vr >> 11; - l &= 0xffff; } else { @@ -371,6 +370,7 @@ INLINE void FeedXA(xa_decode_t *xap) l=s; } + l &= 0xffff; *XAFeed++=(l|(l<<16)); if(XAFeed==XAEnd) XAFeed=XAStart; |