summaryrefslogtreecommitdiff
path: root/src/spc700.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/spc700.h')
-rw-r--r--src/spc700.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/spc700.h b/src/spc700.h
index 6b73f44..66ef814 100644
--- a/src/spc700.h
+++ b/src/spc700.h
@@ -95,13 +95,14 @@ typedef union
uint32 _padder; // make sure this whole thing takes 4 bytes
} YAndA;
-struct SAPURegisters{
+typedef struct
+{
uint8 P;
YAndA YA;
uint8 X;
uint8 S;
uint16 PC;
-};
+}SAPURegisters;
//EXTERN_C struct SAPURegisters APURegisters;