Mercurial > repos > blastem
diff system.h @ 2298:9d68799f945b
Added basic FLAC seek implementation and added support for FLAC tracks in CUE sheets
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 09 Mar 2023 22:49:42 -0800 |
parents | 92449b47cce8 |
children | 9f0c67e5c50a |
line wrap: on
line diff
--- a/system.h Sun Feb 19 22:00:29 2023 -0800 +++ b/system.h Thu Mar 09 22:49:42 2023 -0800 @@ -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)