From a60a0eb80d5ecaba5a9f2ce8a60d455ff662b761 Mon Sep 17 00:00:00 2001 From: "SND\\notaz_cp" Date: Fri, 4 Feb 2011 21:15:46 +0000 Subject: dfsound: fix mono/no-stretch xa masking Fixes noisy voices in Resident Evil 1/2 when Xa stretching is off. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@62911 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/dfsound/xa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/dfsound/xa.c b/plugins/dfsound/xa.c index 8246a8fe..b7adacf7 100644 --- a/plugins/dfsound/xa.c +++ b/plugins/dfsound/xa.c @@ -350,7 +350,7 @@ INLINE void FeedXA(xa_decode_t *xap) } l=s; - *XAFeed++=(l|(l<<16)); + *XAFeed++=((l&0xffff)|(l<<16)); if(XAFeed==XAEnd) XAFeed=XAStart; if(XAFeed==XAPlay) -- cgit v1.2.3