diff options
Diffstat (limited to 'lib/rbcodec/codecs/libgme/z80_cpu_run.h')
-rw-r--r-- | lib/rbcodec/codecs/libgme/z80_cpu_run.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbcodec/codecs/libgme/z80_cpu_run.h b/lib/rbcodec/codecs/libgme/z80_cpu_run.h index a453487bb0..26c2a1a7b6 100644 --- a/lib/rbcodec/codecs/libgme/z80_cpu_run.h +++ b/lib/rbcodec/codecs/libgme/z80_cpu_run.h | |||
@@ -131,7 +131,7 @@ int const C01 = 0x01; | |||
131 | 131 | ||
132 | #ifdef BLARGG_BIG_ENDIAN | 132 | #ifdef BLARGG_BIG_ENDIAN |
133 | #define R8( n, offset ) ((r.r8_ - offset) [n]) | 133 | #define R8( n, offset ) ((r.r8_ - offset) [n]) |
134 | #elif BLARGG_LITTLE_ENDIAN | 134 | #elif defined(BLARGG_LITTLE_ENDIAN) |
135 | #define R8( n, offset ) ((r.r8_ - offset) [(n) ^ 1]) | 135 | #define R8( n, offset ) ((r.r8_ - offset) [(n) ^ 1]) |
136 | #else | 136 | #else |
137 | #error "Byte order of CPU must be known" | 137 | #error "Byte order of CPU must be known" |