X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fdfsound%2Fxa.c;h=124138084f64d2f002e7d2659b82ef8a896e284d;hp=9b7ed5a96888c27065d23352a02cea2dd4141a96;hb=215ff9e69c0b845f24e7a3aa9faeef06d9276145;hpb=003cfc63c69b3e900de768317354dfb80bbf6a55 diff --git a/plugins/dfsound/xa.c b/plugins/dfsound/xa.c index 9b7ed5a9..12413808 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) {