From 6b8c7d2376bb04578dec209eeafc037c33a32d45 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 15 Dec 2014 00:59:52 +0100 Subject: Use MSB_FIRST instead of LSB_FIRST --- source/65c816.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/65c816.h') 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; -- cgit v1.2.3