X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fgp2x%2Fcode940%2F940shared.h;h=c208e670e1c49d0b4415cf9f55eefca82f6daebf;hb=4f265db77684ec33f9533e7c76734498df03bba4;hp=cc5d0c4ad29d545cae194341cab7e87f4c767213;hpb=42c7b14797fad5ad8adc822e8d0cebf326eb620b;p=picodrive.git diff --git a/platform/gp2x/code940/940shared.h b/platform/gp2x/code940/940shared.h index cc5d0c4a..c208e670 100644 --- a/platform/gp2x/code940/940shared.h +++ b/platform/gp2x/code940/940shared.h @@ -24,7 +24,7 @@ typedef struct typedef struct { int jobs[MAX_940JOBS]; /* jobs for second core */ - int busy; /* busy status of the 940 core */ + int busy_; /* unused */ int length; /* number of samples to mix (882 max) */ int stereo; /* mix samples as stereo, doubles sample count automatically */ int baseclock; /* ym2612 settings */ @@ -39,4 +39,7 @@ typedef struct int loopc; /* debug: main loop counter */ int mp3_errors; /* debug: mp3 decoder's error counter */ int mp3_lasterr; /* debug: mp3 decoder's last error */ + int last_irq_pc; /* debug: PC value when IRQ happened */ + int lastjob; /* debug: last job id */ + int lastbusy; /* debug: */ } _940_ctl_t;