aboutsummaryrefslogtreecommitdiff
path: root/source/65c816.h
diff options
context:
space:
mode:
authortwinaphex2014-12-15 00:59:52 +0100
committertwinaphex2014-12-15 00:59:52 +0100
commit6b8c7d2376bb04578dec209eeafc037c33a32d45 (patch)
tree01e95a3b8e66ea12004d20a667f3f3eff45b5107 /source/65c816.h
parentb27c451831082179cc9bc3c1b3424ebb0f66dd74 (diff)
downloadsnes9x2005-6b8c7d2376bb04578dec209eeafc037c33a32d45.tar.gz
snes9x2005-6b8c7d2376bb04578dec209eeafc037c33a32d45.tar.bz2
snes9x2005-6b8c7d2376bb04578dec209eeafc037c33a32d45.zip
Use MSB_FIRST instead of LSB_FIRST
Diffstat (limited to 'source/65c816.h')
-rw-r--r--source/65c816.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/65c816.h b/source/65c816.h
index 505d185..406341a 100644
--- a/source/65c816.h
+++ b/source/65c816.h
@@ -146,15 +146,15 @@
typedef union
{
-#ifdef LSB_FIRST
+#ifdef MSB_FIRST
struct
{
- uint8_t l, h;
+ uint8_t h, l;
} B;
#else
struct
{
- uint8_t h, l;
+ uint8_t l, h;
} B;
#endif
uint16_t W;