PCM sound, refactored code940
[picodrive.git] / platform / gp2x / code940 / 940shared.h
index cc5d0c4..c208e67 100644 (file)
@@ -24,7 +24,7 @@ typedef struct
 typedef struct\r
 {\r
        int             jobs[MAX_940JOBS];                      /* jobs for second core */\r
-       int             busy;                                   /* busy status of the 940 core */\r
+       int             busy_;                                  /* unused */\r
        int             length;                                 /* number of samples to mix (882 max) */\r
        int             stereo;                                 /* mix samples as stereo, doubles sample count automatically */\r
        int             baseclock;                              /* ym2612 settings */\r
@@ -39,4 +39,7 @@ typedef struct
        int             loopc;                                  /* debug: main loop counter */\r
        int             mp3_errors;                     /* debug: mp3 decoder's error counter */\r
        int             mp3_lasterr;                    /* debug: mp3 decoder's last error */\r
+       int             last_irq_pc;                    /* debug: PC value when IRQ happened */\r
+       int             lastjob;                        /* debug: last job id */\r
+       int             lastbusy;                       /* debug: */\r
 } _940_ctl_t;\r