summaryrefslogtreecommitdiff
path: root/src/65c816.h
diff options
context:
space:
mode:
authortwinaphex2015-11-10 04:30:51 +0100
committertwinaphex2015-11-10 04:30:51 +0100
commit741516b02c03c7af9fe2ec303edf0ccaccfd39a8 (patch)
tree99bc8929fa5340664e042fbcfb19b7d6d61f008c /src/65c816.h
parentbed2a54f68865abcd6630b5514dce9ba06d9e4b0 (diff)
downloadsnes9x2002-741516b02c03c7af9fe2ec303edf0ccaccfd39a8.tar.gz
snes9x2002-741516b02c03c7af9fe2ec303edf0ccaccfd39a8.tar.bz2
snes9x2002-741516b02c03c7af9fe2ec303edf0ccaccfd39a8.zip
Use MSB_FIRST
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;