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/spc700.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/spc700.h') diff --git a/source/spc700.h b/source/spc700.h index 9ddb72f..5c0bb14 100644 --- a/source/spc700.h +++ b/source/spc700.h @@ -135,15 +135,15 @@ typedef union { -#ifdef LSB_FIRST +#ifdef MSB_FIRST struct { - uint8_t A, Y; + uint8_t Y, A; } B; #else struct { - uint8_t Y, A; + uint8_t A, Y; } B; #endif uint16_t W; -- cgit v1.2.3