aboutsummaryrefslogtreecommitdiff
path: root/plugins/dfsound/spu.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dfsound/spu.c')
-rw-r--r--plugins/dfsound/spu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/dfsound/spu.c b/plugins/dfsound/spu.c
index cb639b2..bea8414 100644
--- a/plugins/dfsound/spu.c
+++ b/plugins/dfsound/spu.c
@@ -762,6 +762,8 @@ static void *MAINThread(void *arg)
bIRQReturn=1;
lastch=ch;
lastns=ns_to=d;
+ if(d==0)
+ break;
}
MixADSR(ch, ns_from, ns_to);