diff system.h @ 2305:6aca1734d573

Merge
author Michael Pavone <pavone@retrodev.com>
date Wed, 15 Mar 2023 19:28:11 -0700
parents 9d68799f945b
children 9f0c67e5c50a
line wrap: on
line diff
--- a/system.h	Wed Mar 15 18:50:24 2023 -0700
+++ b/system.h	Wed Mar 15 19:28:11 2023 -0700
@@ -3,6 +3,7 @@
 #include <stddef.h>
 #include <stdint.h>
 #include <stdio.h>
+#include "flac.h"
 
 typedef struct system_header system_header;
 typedef struct system_media system_media;
@@ -111,6 +112,7 @@
 
 typedef struct {
 	FILE       *f;
+	flac_file  *flac;
 	uint32_t   file_offset;
 	uint32_t   fake_pregap;
 	uint32_t   pregap_lba;
@@ -142,7 +144,7 @@
 	uint32_t     cur_sector;
 	media_type   type;
 	uint8_t      in_fake_pregap;
-	uint8_t      byte_storage;
+	uint8_t      byte_storage[3];
 };
 
 #define OPT_ADDRESS_LOG (1U << 31U)