X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fdfsound%2Fspu.c;h=bea8414e80e8e11f7c4bb023c5bd31d53af082e4;hp=cb639b26d07d4289cfedb5a7eb2ff040fc5aaee5;hb=587fa7de9b496a0b7fa1d52d393733886602ca83;hpb=a3ed191507a8162f676f92b44dd61eb5e14d2194 diff --git a/plugins/dfsound/spu.c b/plugins/dfsound/spu.c index cb639b26..bea8414e 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);