aboutsummaryrefslogtreecommitdiff
path: root/source/spc7110.c
diff options
context:
space:
mode:
authorJoão Silva2017-06-18 16:16:19 +0100
committerJoão Silva2017-06-18 16:16:19 +0100
commitbcaf44c511efaad9d803dde9b0fdbb046498c66f (patch)
treec526c7d332be548a42364eea9113b6d33345b840 /source/spc7110.c
parent10a58e72aa3f74a821fa9be07ffd3992ffa93600 (diff)
downloadsnes9x2005-bcaf44c511efaad9d803dde9b0fdbb046498c66f.tar.gz
snes9x2005-bcaf44c511efaad9d803dde9b0fdbb046498c66f.tar.bz2
snes9x2005-bcaf44c511efaad9d803dde9b0fdbb046498c66f.zip
Support for savestate versioning. Plenty of cleanups.
Diffstat (limited to 'source/spc7110.c')
-rw-r--r--source/spc7110.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/spc7110.c b/source/spc7110.c
index ffaf35f..fb8f280 100644
--- a/source/spc7110.c
+++ b/source/spc7110.c
@@ -46,7 +46,7 @@ void (*Copy7110)() = NULL;
//size and offset of the pack data
//offset and size of reads from pack
-typedef struct SPC7110DecompressionLocationStruct
+typedef struct
{
uint32_t offset;
uint32_t size;
@@ -55,7 +55,7 @@ typedef struct SPC7110DecompressionLocationStruct
} Data7110;
//this maps an index.bin table to the decompression pack
-typedef struct SPC7110DecompressionIndexStruct
+typedef struct
{
int32_t table;
bool is_file;
@@ -63,7 +63,7 @@ typedef struct SPC7110DecompressionIndexStruct
} Index7110;
//this contains all the data for the decompression pack.
-typedef struct SPC7110DecompressionPackStructure
+typedef struct
{
uint8_t* binfiles[MAX_TABLES];
Index7110 tableEnts[MAX_TABLES];