cue support wip
[picodrive.git] / Pico / cd / cd_file.h
1 #ifndef _CD_FILE_H
2 #define _CD_FILE_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #define TYPE_ISO 1
9 #define TYPE_BIN 2
10 #define TYPE_MP3 3
11 //#define TYPE_WAV 4
12
13 typedef enum
14 {
15         CIT_NOT_CD = 0,
16         CIT_ISO,
17         CIT_BIN,
18         CIT_CUE
19 }
20 cd_img_type;
21
22
23 PICO_INTERNAL int  Load_CD_Image(const char *iso_name, cd_img_type type);
24 PICO_INTERNAL void Unload_ISO(void);
25 PICO_INTERNAL int  FILE_Read_One_LBA_CDC(void);
26 PICO_INTERNAL int  FILE_Play_CD_LBA(void);
27
28
29 #ifdef __cplusplus
30 };
31 #endif
32
33 #endif