bf098bc5 |
1 | #ifndef _CD_FILE_H |
2 | #define _CD_FILE_H |
3 | |
bf098bc5 |
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 | |
b923ecbe |
13 | typedef enum |
14 | { |
15 | CIT_NOT_CD = 0, |
16 | CIT_ISO, |
17 | CIT_BIN, |
18 | CIT_CUE |
19 | } |
20 | cd_img_type; |
bf098bc5 |
21 | |
bf098bc5 |
22 | |
b923ecbe |
23 | PICO_INTERNAL int Load_CD_Image(const char *iso_name, cd_img_type type); |
eff55556 |
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); |
bf098bc5 |
27 | |
28 | |
29 | #ifdef __cplusplus |
30 | }; |
31 | #endif |
32 | |
33 | #endif |