spu: keep generating irqs while they are pending
authornotaz <notasas@gmail.com>
Sun, 24 Jun 2012 22:22:13 +0000 (01:22 +0300)
committernotaz <notasas@gmail.com>
Sun, 8 Jul 2012 23:35:58 +0000 (02:35 +0300)
pending should be implemented as such, but there is no psemu API for it..

plugins/dfsound/spu.c

index d26fa96..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();
  }
 }