X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2FPico.h;h=cdba60b2f949d6755723510fb965494f6cebe4b0;hb=4a32f01f5527929fe5feafd53937007dcfd64735;hp=3b7f62b2a3f9cabf8a8c2dc04b8f204a877e2e7a;hpb=9d917eea21607c7c239d4b0cd850d660c0c8e4c5;p=picodrive.git diff --git a/Pico/Pico.h b/Pico/Pico.h index 3b7f62b..cdba60b 100644 --- a/Pico/Pico.h +++ b/Pico/Pico.h @@ -83,7 +83,8 @@ void Stop_CD(void); // releases all resources taken when CD game was started. typedef enum { PMT_UNCOMPRESSED = 0, - PMT_ZIP + PMT_ZIP, + PMT_CSO } pm_type; typedef struct { @@ -99,9 +100,9 @@ int pm_close(pm_file *fp); int PicoCartLoad(pm_file *f,unsigned char **prom,unsigned int *psize); int PicoCartInsert(unsigned char *rom,unsigned int romsize); void Byteswap(unsigned char *data,int len); -// anotherguest int PicoUnloadCart(unsigned char* romdata); extern void (*PicoCartLoadProgressCB)(int percent); +extern void (*PicoCDLoadProgressCB)(int percent); // Draw.c void PicoDrawSetColorFormat(int which); // 0=BGR444, 1=RGB555, 2=8bit(HighPal pal) @@ -130,6 +131,7 @@ extern void (*PicoPrepareCram)(); // prepares PicoCramHigh for renderer to us // sound.c extern int PsndRate,PsndLen; extern short *PsndOut; +extern void (*PsndMix_32_to_16l)(short *dest, int *src, int count); void PsndRerate(int preserve_state); // Utils.c