aboutsummaryrefslogtreecommitdiff
path: root/source/seta.h
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/seta.h
parent10a58e72aa3f74a821fa9be07ffd3992ffa93600 (diff)
downloadsnes9x2005-bcaf44c511efaad9d803dde9b0fdbb046498c66f.tar.gz
snes9x2005-bcaf44c511efaad9d803dde9b0fdbb046498c66f.tar.bz2
snes9x2005-bcaf44c511efaad9d803dde9b0fdbb046498c66f.zip
Support for savestate versioning. Plenty of cleanups.
Diffstat (limited to 'source/seta.h')
-rw-r--r--source/seta.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/seta.h b/source/seta.h
index 9c3e78b..339ba05 100644
--- a/source/seta.h
+++ b/source/seta.h
@@ -23,16 +23,16 @@ void S9xSetST011(uint32_t Address, uint8_t Byte);
extern void (*SetSETA)(uint32_t, uint8_t);
extern uint8_t(*GetSETA)(uint32_t);
-typedef struct SETA_ST010_STRUCT
+typedef struct
{
- uint8_t input_params[16];
+ uint8_t input_params [16];
uint8_t output_params[16];
uint8_t op_reg;
uint8_t execute;
bool control_enable;
} ST010_Regs;
-typedef struct SETA_ST011_STRUCT
+typedef struct
{
bool waiting4command;
uint8_t status;
@@ -42,10 +42,10 @@ typedef struct SETA_ST011_STRUCT
uint32_t out_count;
uint32_t out_index;
uint8_t parameters [512];
- uint8_t output [512];
+ uint8_t output [512];
} ST011_Regs;
-typedef struct SETA_ST018_STRUCT
+typedef struct
{
bool waiting4command;
uint8_t status;
@@ -57,7 +57,7 @@ typedef struct SETA_ST018_STRUCT
uint32_t out_count;
uint32_t out_index;
uint8_t parameters [512];
- uint8_t output [512];
+ uint8_t output [512];
} ST018_Regs;
#endif