spu: fix a few mixing issues
[pcsx_rearmed.git] / plugins / dfsound / spu.c
index cb639b2..bea8414 100644 (file)
@@ -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);