diff options
Diffstat (limited to 'src/snaporig.h')
-rw-r--r-- | src/snaporig.h | 12 |
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; |