summaryrefslogtreecommitdiff
path: root/src/spc700.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/spc700.h')
-rw-r--r--src/spc700.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/spc700.h b/src/spc700.h
index 9dd1180..805392c 100644
--- a/src/spc700.h
+++ b/src/spc700.h
@@ -86,15 +86,15 @@
typedef union
{
-#ifdef LSB_FIRST
+#ifdef MSB_FIRST
struct
{
- uint8 A, Y;
+ uint8 Y, A;
} B;
#else
struct
{
- uint8 Y, A;
+ uint8 A, Y;
} B;
#endif
uint16 W;