spu: keep generating irqs while they are pending
[pcsx_rearmed.git] / plugins / dfsound / spu.c
index ecc7ca0..7c12cdc 100644 (file)
@@ -399,9 +399,9 @@ INLINE int iGetInterpolationVal(int ch, int spos)
 
 static void do_irq(void)
 {
- if(!(spuStat & STAT_IRQ))
//if(!(spuStat & STAT_IRQ))
  {
-  spuStat |= STAT_IRQ;
+  spuStat |= STAT_IRQ;                                 // asserted status?
   if(irqCallback) irqCallback();
  }
 }
@@ -623,8 +623,8 @@ static int do_samples_noise(int ch, int ns, int ns_to)
  return -1;
 }
 
-#ifdef __ARM_ARCH_7A__
-// asm code
+#ifdef __arm__
+// asm code; lv and rv must be 0-3fff
 extern void mix_chan(int start, int count, int lv, int rv);
 extern void mix_chan_rvb(int start, int count, int lv, int rv);
 #else