summaryrefslogtreecommitdiff
path: root/src/65c816.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/65c816.h')
-rw-r--r--src/65c816.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/65c816.h b/src/65c816.h
index aa251dc..1ab8e54 100644
--- a/src/65c816.h
+++ b/src/65c816.h
@@ -105,7 +105,8 @@ typedef union
uint16 W;
} ALIGN_BY_ONE pair;
-struct SRegisters{
+typedef struct
+{
uint8 PB;
uint8 DB;
pair P;
@@ -115,7 +116,7 @@ struct SRegisters{
pair S;
pair Y;
uint16 PC;
-} PACKING;
+}PACKING SRegisters;
#define Registers CPU.Regs
//EXTERN_C struct SRegisters Registers;