From 741516b02c03c7af9fe2ec303edf0ccaccfd39a8 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 10 Nov 2015 04:30:51 +0100 Subject: Use MSB_FIRST --- src/snaporig.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/snaporig.h') 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; -- cgit v1.2.3