aboutsummaryrefslogtreecommitdiff
path: root/source/port.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/port.h')
-rw-r--r--source/port.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/port.h b/source/port.h
index 5b94d06..1e34410 100644
--- a/source/port.h
+++ b/source/port.h
@@ -274,6 +274,11 @@ EXTERN_C void MixSound(void);
defined(__WIN32__) || defined(__alpha__)
#define LSB_FIRST
#define FAST_LSB_WORD_ACCESS
+#elif defined(__MIPSEL__)
+#define LSB_FIRST
+// On little-endian MIPS, a 16-bit word can be read directly from an address
+// only if it's aligned.
+#define FAST_ALIGNED_LSB_WORD_ACCESS
#else
//#define MSB_FIRST
#define LSB_FIRST