diff options
| author | SND\notaz_cp <SND\notaz_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-02-04 21:15:46 +0000 |
|---|---|---|
| committer | SND\notaz_cp <SND\notaz_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-02-04 21:15:46 +0000 |
| commit | a60a0eb80d5ecaba5a9f2ce8a60d455ff662b761 (patch) | |
| tree | 0d367286706284ee978da92635627d74e55c6d37 /plugins | |
| parent | 5f0189ef278ebb7ef9fd4e08fff8728449bf6b6f (diff) | |
| download | pcsxr-a60a0eb80d5ecaba5a9f2ce8a60d455ff662b761.tar.gz | |
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
Diffstat (limited to 'plugins')
| -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 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) |
