aboutsummaryrefslogtreecommitdiff
path: root/source/spc700.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/spc700.h')
-rw-r--r--source/spc700.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/spc700.h b/source/spc700.h
index 9ddb72f..5c0bb14 100644
--- a/source/spc700.h
+++ b/source/spc700.h
@@ -135,15 +135,15 @@
typedef union
{
-#ifdef LSB_FIRST
+#ifdef MSB_FIRST
struct
{
- uint8_t A, Y;
+ uint8_t Y, A;
} B;
#else
struct
{
- uint8_t Y, A;
+ uint8_t A, Y;
} B;
#endif
uint16_t W;