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/65c816.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/65c816.h') diff --git a/src/65c816.h b/src/65c816.h index f1e21f5..fe040c6 100644 --- a/src/65c816.h +++ b/src/65c816.h @@ -99,15 +99,15 @@ typedef union { -#ifdef LSB_FIRST +#ifdef MSB_FIRST struct { - uint8 l, h; + uint8 h, l; } PACKING B; #else struct { - uint8 h, l; + uint8 l, h; } PACKING B; #endif uint16 W; -- cgit v1.2.3