spu: implement irq on dma
[pcsx_rearmed.git] / plugins / dfsound / externals.h
index 4e1a40b..4f48c65 100644 (file)
@@ -190,7 +190,7 @@ typedef union
   union {\r
    struct {\r
     int pos;\r
-    signed short val[4];\r
+    int val[4];\r
    } gauss;\r
    int simple[5]; // 28-32\r
   } interp;\r
@@ -225,6 +225,8 @@ typedef struct
  int             iLeftXAVol;\r
  int             iRightXAVol;\r
 \r
+ unsigned int    last_keyon_cycles;\r
+\r
  union {\r
   unsigned char  *spuMemC;\r
   unsigned short *spuMem;\r
@@ -239,7 +241,7 @@ typedef struct
 \r
  int           * SSumLR;\r
 \r
- void (CALLBACK *irqCallback)(void);   // func of main emu, called on spu irq\r
+ void (CALLBACK *irqCallback)(int);\r
  //void (CALLBACK *cddavCallback)(short, short);\r
  void (CALLBACK *scheduleCallback)(unsigned int);\r
 \r