X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2Fcd%2Fcd_file.h;h=181800fee25e51d92defa04705057a8b76dcaba2;hb=9037e45d9f2752fdd6ebbc01328148839403a84f;hp=fcf88cb2664b53cfe625a3478a69f326f9ef0c0e;hpb=75736070161d40608ba3052b4c95b42943f9de3d;p=picodrive.git diff --git a/Pico/cd/cd_file.h b/Pico/cd/cd_file.h index fcf88cb..181800f 100644 --- a/Pico/cd/cd_file.h +++ b/Pico/cd/cd_file.h @@ -10,13 +10,20 @@ extern "C" { #define TYPE_MP3 3 //#define TYPE_WAV 4 - - -void FILE_End(void); -int Load_ISO(const char *iso_name, int is_bin); -void Unload_ISO(void); -int FILE_Read_One_LBA_CDC(void); -int FILE_Play_CD_LBA(void); +typedef enum +{ + CIT_NOT_CD = 0, + CIT_ISO, + CIT_BIN, + CIT_CUE +} +cd_img_type; + + +PICO_INTERNAL int Load_CD_Image(const char *iso_name, cd_img_type type); +PICO_INTERNAL void Unload_ISO(void); +PICO_INTERNAL int FILE_Read_One_LBA_CDC(void); +PICO_INTERNAL int FILE_Play_CD_LBA(void); #ifdef __cplusplus