diff system.h @ 2114:2449c88cea36

Enhance support for CUE files and add initial support for cdrdao TOC files
author Michael Pavone <pavone@retrodev.com>
date Wed, 16 Feb 2022 21:22:12 -0800
parents 0db3af42dd72
children cd057d6fe030
line wrap: on
line diff
--- a/system.h	Sun Feb 13 22:52:52 2022 -0800
+++ b/system.h	Wed Feb 16 21:22:12 2022 -0800
@@ -91,10 +91,13 @@
 } track_type;
 
 typedef struct {
+	FILE       *f;
+	uint32_t   file_offset;
 	uint32_t   fake_pregap;
 	uint32_t   pregap_lba;
 	uint32_t   start_lba;
 	uint32_t   end_lba;
+	uint16_t   sector_bytes;
 	uint8_t    need_swap;
 	track_type type;
 } track_info;
@@ -109,7 +112,6 @@
 	char         *extension;
 	system_media *chain;
 	track_info   *tracks;
-	FILE         *f;
 	seek_fun     seek;
 	read_fun     read;
 	uint32_t     num_tracks;