X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fgp2x%2Fcode940%2F940shared.h;h=6f12a32f08527855923f6fdb6e11fd45bfb2410f;hb=75a30842c4f9e7e95a199361b9348c9f9dede0e6;hp=7e578abec1c2894550c1671620f24f0deabd5134;hpb=e4fb433cd685d06ddbf0ec367c19a38b75d6ac68;p=picodrive.git diff --git a/platform/gp2x/code940/940shared.h b/platform/gp2x/code940/940shared.h index 7e578ab..6f12a32 100644 --- a/platform/gp2x/code940/940shared.h +++ b/platform/gp2x/code940/940shared.h @@ -1,5 +1,4 @@ -#include "../../../Pico/sound/ym2612.h" -#include "../../common/helix/pub/mp3dec.h" +#include "../../../pico/sound/ym2612.h" // max 16 jobs, lower num means higher prio enum _940_job_t { @@ -12,6 +11,7 @@ enum _940_job_t { JOB940_PICOSTATESAVE2, JOB940_PICOSTATELOAD2_PREP, JOB940_PICOSTATELOAD2, + JOB940_MP3RESET, }; //#define MAX_940JOBS 2 @@ -19,7 +19,7 @@ enum _940_job_t { typedef struct { YM2612 ym2612; /* current state of the emulated YM2612 */ - HMP3Decoder mp3dec; /* mp3 decoder's handle */ + void *mp3dec; /* mp3 decoder's handle */ int ym_buffer[44100/50*2]; /* this is where the YM2612 samples will be mixed to */ short mp3_buffer[2][1152*2]; /* buffers for mp3 decoder's output */ } _940_data_t;