summaryrefslogtreecommitdiff
path: root/src/65c816.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/65c816.h')
-rw-r--r--src/65c816.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/65c816.h b/src/65c816.h
index f1e21f5..fe040c6 100644
--- a/src/65c816.h
+++ b/src/65c816.h
@@ -99,15 +99,15 @@
typedef union
{
-#ifdef LSB_FIRST
+#ifdef MSB_FIRST
struct
{
- uint8 l, h;
+ uint8 h, l;
} PACKING B;
#else
struct
{
- uint8 h, l;
+ uint8 l, h;
} PACKING B;
#endif
uint16 W;