summaryrefslogtreecommitdiff
path: root/src/snaporig.h
diff options
context:
space:
mode:
authortwinaphex2015-11-10 04:30:51 +0100
committertwinaphex2015-11-10 04:30:51 +0100
commit741516b02c03c7af9fe2ec303edf0ccaccfd39a8 (patch)
tree99bc8929fa5340664e042fbcfb19b7d6d61f008c /src/snaporig.h
parentbed2a54f68865abcd6630b5514dce9ba06d9e4b0 (diff)
downloadsnes9x2002-741516b02c03c7af9fe2ec303edf0ccaccfd39a8.tar.gz
snes9x2002-741516b02c03c7af9fe2ec303edf0ccaccfd39a8.tar.bz2
snes9x2002-741516b02c03c7af9fe2ec303edf0ccaccfd39a8.zip
Use MSB_FIRST
Diffstat (limited to 'src/snaporig.h')
-rw-r--r--src/snaporig.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/snaporig.h b/src/snaporig.h
index 13f1556..e8b77be 100644
--- a/src/snaporig.h
+++ b/src/snaporig.h
@@ -94,15 +94,15 @@ struct SOrigAPU
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;
@@ -320,15 +320,15 @@ struct SOrigDMA
typedef union
{
-#ifdef LSB_FIRST
+#ifdef MSB_FIRST
struct
{
- uint8 l, h;
+ uint8 h, l;
} B;
#else
struct
{
- uint8 h, l;
+ uint8 l, h;
} B;
#endif
uint16 W;