spu: don't wait for irq on silent channels
[pcsx_rearmed.git] / plugins / dfsound / spu.c
index 36ac018..cb639b2 100644 (file)
@@ -794,7 +794,8 @@ static void *MAINThread(void *arg)
         {
          unsigned char *start=s_chan[ch].pCurr;
 
-         bIRQReturn |= skip_block(ch);
+         // no need for bIRQReturn since the channel is silent
+         iSpuAsyncWait |= skip_block(ch);
          if(start == s_chan[ch].pCurr)
           {
            // looping on self