diff system.h @ 2089:0db3af42dd72

Fix some byte order stuff for audio tracks
author Michael Pavone <pavone@retrodev.com>
date Sun, 06 Feb 2022 13:51:49 -0800
parents bafb757e1cd2
children 2449c88cea36
line wrap: on
line diff
--- a/system.h	Sun Feb 06 13:51:09 2022 -0800
+++ b/system.h	Sun Feb 06 13:51:49 2022 -0800
@@ -95,6 +95,7 @@
 	uint32_t   pregap_lba;
 	uint32_t   start_lba;
 	uint32_t   end_lba;
+	uint8_t    need_swap;
 	track_type type;
 } track_info;
 
@@ -112,10 +113,12 @@
 	seek_fun     seek;
 	read_fun     read;
 	uint32_t     num_tracks;
+	uint32_t     cur_track;
 	uint32_t     size;
 	uint32_t     cur_sector;
 	media_type   type;
 	uint8_t      in_fake_pregap;
+	uint8_t      byte_storage;
 };
 
 #define OPT_ADDRESS_LOG (1U << 31U)