added zram clearing on reset for Psycho Pinball (does it happen on hw?)
[picodrive.git] / Pico / cd / cue.h
... / ...
CommitLineData
1
2typedef enum
3{
4 CT_UNKNOWN = 0,
5 CT_ISO = 1, /* 2048 B/sector */
6 CT_BIN = 2, /* 2352 B/sector */
7 CT_MP3 = 3,
8 CT_WAV = 4
9} cue_track_type;
10
11typedef struct
12{
13 char *fname;
14 int pregap; /* pregap for current track */
15 int sector_offset; /* in current file */
16 int sector_xlength;
17 cue_track_type type;
18} cue_track;
19
20typedef struct
21{
22 int track_count;
23 cue_track tracks[0];
24} cue_data_t;
25
26
27cue_data_t *cue_parse(const char *fname);
28void cue_destroy(cue_data_t *data);
29