diff options
author | notaz | 2014-12-27 23:24:15 +0200 |
---|---|---|
committer | notaz | 2015-01-03 02:25:30 +0200 |
commit | 215ff9e69c0b845f24e7a3aa9faeef06d9276145 (patch) | |
tree | fe421c2217c690f90df5019f195fb4a757e98a0c /plugins/dfsound/xa.c | |
parent | 003cfc63c69b3e900de768317354dfb80bbf6a55 (diff) | |
download | pcsx_rearmed-215ff9e69c0b845f24e7a3aa9faeef06d9276145.tar.gz pcsx_rearmed-215ff9e69c0b845f24e7a3aa9faeef06d9276145.tar.bz2 pcsx_rearmed-215ff9e69c0b845f24e7a3aa9faeef06d9276145.zip |
spu: handle stop better, split main func more
Diffstat (limited to 'plugins/dfsound/xa.c')
-rw-r--r-- | plugins/dfsound/xa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/dfsound/xa.c b/plugins/dfsound/xa.c index 9b7ed5a..1241380 100644 --- a/plugins/dfsound/xa.c +++ b/plugins/dfsound/xa.c @@ -38,12 +38,12 @@ static int gauss_window[8] = {0, 0, 0, 0, 0, 0, 0, 0}; // MIX XA & CDDA //////////////////////////////////////////////////////////////////////// -INLINE void MixXA(int ns_to) +INLINE void MixXA(int ns_to, int decode_pos) { + int cursor = decode_pos; int ns; short l, r; uint32_t v; - int cursor = spu.decode_pos; if(spu.XAPlay != spu.XAFeed || spu.XARepeat > 0) { |