From: notaz Date: Tue, 26 Jul 2011 22:31:21 +0000 (+0300) Subject: spu: remove adsr stop prevention hack X-Git-Tag: r9~33 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=commitdiff_plain;h=a02dc3f33f8ac5ac22106e3417cac0d736628cd4;hp=aa35134a834ff7e98b5a474c3db399a3d660da22 spu: remove adsr stop prevention hack it's is not enough for Tron Bonne, so is not useful --- diff --git a/plugins/dfsound/adsr.c b/plugins/dfsound/adsr.c index 47eccb30..9884d624 100644 --- a/plugins/dfsound/adsr.c +++ b/plugins/dfsound/adsr.c @@ -79,10 +79,10 @@ INLINE int MixADSR(int ch) // MIX ADSR if(s_chan[ch].ADSRX.EnvelopeVol<0) { s_chan[ch].ADSRX.EnvelopeVol=0; - // don't stop if this chan can still cause irqs - if(!(spuCtrl&0x40) || (s_chan[ch].pCurr > pSpuIrq && s_chan[ch].pLoop > pSpuIrq)) - //s_chan[ch].bOn=0; - s_chan[ch].pCurr=(unsigned char *)-1; + // FIXME: don't stop if this chan can still cause irqs + //if(!(spuCtrl&0x40) || (s_chan[ch].pCurr > pSpuIrq && s_chan[ch].pLoop > pSpuIrq)) + //s_chan[ch].bOn=0; + dwChannelOn&=~(1<