summaryrefslogtreecommitdiff
path: root/old/spc700
diff options
context:
space:
mode:
Diffstat (limited to 'old/spc700')
-rw-r--r--old/spc700/debug/port.h4
-rw-r--r--old/spc700/debug/spc700.h6
2 files changed, 3 insertions, 7 deletions
diff --git a/old/spc700/debug/port.h b/old/spc700/debug/port.h
index dfc3030..1a056fb 100644
--- a/old/spc700/debug/port.h
+++ b/old/spc700/debug/port.h
@@ -117,7 +117,6 @@ EXTERN_C void S9xGenerateSound ();
#define SLASH_STR "\\"
#define SLASH_CHAR '\\'
-#define LSB_FIRST
#define STATIC static
#define FASTCALL
#define INLINE inline
@@ -431,7 +430,6 @@ typedef void (*SignalHandler)(int);
#if defined(__i386__) || defined(__i486__) || defined(__i586__) || \
defined(__WIN32kk__) || defined(__alpha__)
-#define LSB_FIRST
#define FAST_LSB_WORD_ACCESS
#define PACKING
#define ALIGN_BY_ONE
@@ -439,14 +437,12 @@ typedef void (*SignalHandler)(int);
#else
#ifdef __GP32__
-#define LSB_FIRST
#define STATIC static
#define FASTCALL
#define INLINE inline
#define VOID void
#else
// must be gp2x
-#define LSB_FIRST
#define STATIC static
#define FASTCALL
#define INLINE inline
diff --git a/old/spc700/debug/spc700.h b/old/spc700/debug/spc700.h
index 507c247..433fe6f 100644
--- a/old/spc700/debug/spc700.h
+++ b/old/spc700/debug/spc700.h
@@ -86,10 +86,10 @@
typedef union
{
-#ifdef LSB_FIRST
- struct { uint8 A, Y; } B;
-#else
+#ifdef MSB_FIRST
struct { uint8 Y, A; } B;
+#else
+ struct { uint8 A, Y; } B;
#endif
uint16 W;
uint32 _padder; // make sure this whole thing takes 4 bytes