Add support for using directories and .iso files within CUE sheets

Add support for big-endian binary files

Remove unused is_dir member
This commit is contained in:
Cacodemon345
2024-07-06 14:46:45 +06:00
parent 4dd4d2e6e1
commit 94c44da4d1
7 changed files with 258 additions and 189 deletions

View File

@@ -226,7 +226,6 @@ typedef struct cdrom {
uint8_t speed;
uint8_t cur_speed;
int is_dir;
void *priv;
char image_path[1024];

View File

@@ -53,6 +53,8 @@ typedef struct track_file_t {
char fn[260];
FILE *fp;
void *priv;
int motorola;
} track_file_t;
typedef struct track_t {
@@ -63,7 +65,7 @@ typedef struct track_t {
int mode2;
int form;
int pre;
int pad;
int noskip; /* Do not skip by 8 bytes.*/
uint64_t start;
uint64_t length;
uint64_t skip;