summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/dfsound/spu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/dfsound/spu.c b/plugins/dfsound/spu.c
index 5f5ecf11..6d2564e4 100755
--- a/plugins/dfsound/spu.c
+++ b/plugins/dfsound/spu.c
@@ -669,7 +669,10 @@ static void *MAINThread(void *arg)
start=s_chan[ch].pCurr; // set up the current pos
- if (s_chan[ch].iSilent==1 || start == (unsigned char*)-1) // special "stop" sign
+ if (start == spuMemC)
+ s_chan[ch].bOn = 0;
+
+ if (s_chan[ch].iSilent==1 )
{
// silence = let channel keep running (IRQs)
//s_chan[ch].bOn=0; // -> turn everything off