diff options
author | notaz | 2011-07-27 01:31:21 +0300 |
---|---|---|
committer | notaz | 2011-07-27 01:31:21 +0300 |
commit | a02dc3f33f8ac5ac22106e3417cac0d736628cd4 (patch) | |
tree | 3a255486608a86b80f349b4f7fb01ebfb4e759d9 | |
parent | aa35134a834ff7e98b5a474c3db399a3d660da22 (diff) | |
download | pcsx_rearmed-a02dc3f33f8ac5ac22106e3417cac0d736628cd4.tar.gz pcsx_rearmed-a02dc3f33f8ac5ac22106e3417cac0d736628cd4.tar.bz2 pcsx_rearmed-a02dc3f33f8ac5ac22106e3417cac0d736628cd4.zip |
spu: remove adsr stop prevention hack
it's is not enough for Tron Bonne, so is not useful
-rw-r--r-- | plugins/dfsound/adsr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/dfsound/adsr.c b/plugins/dfsound/adsr.c index 47eccb3..9884d62 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<<ch);
//s_chan[ch].bReverb=0;
//s_chan[ch].bNoise=0;
}
|