diff options
author | twinaphex | 2014-12-15 00:59:52 +0100 |
---|---|---|
committer | twinaphex | 2014-12-15 00:59:52 +0100 |
commit | 6b8c7d2376bb04578dec209eeafc037c33a32d45 (patch) | |
tree | 01e95a3b8e66ea12004d20a667f3f3eff45b5107 /source/globals.c | |
parent | b27c451831082179cc9bc3c1b3424ebb0f66dd74 (diff) | |
download | snes9x2005-6b8c7d2376bb04578dec209eeafc037c33a32d45.tar.gz snes9x2005-6b8c7d2376bb04578dec209eeafc037c33a32d45.tar.bz2 snes9x2005-6b8c7d2376bb04578dec209eeafc037c33a32d45.zip |
Use MSB_FIRST instead of LSB_FIRST
Diffstat (limited to 'source/globals.c')
-rw-r--r-- | source/globals.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/globals.c b/source/globals.c index 0625df8..d7fa677 100644 --- a/source/globals.c +++ b/source/globals.c @@ -271,19 +271,19 @@ int NoiseFreq [32] = uint32_t HeadMask [4] = { -#ifdef LSB_FIRST - 0xffffffff, 0xffffff00, 0xffff0000, 0xff000000 -#else +#ifdef MSB_FIRST 0xffffffff, 0x00ffffff, 0x0000ffff, 0x000000ff +#else + 0xffffffff, 0xffffff00, 0xffff0000, 0xff000000 #endif }; uint32_t TailMask [5] = { -#ifdef LSB_FIRST - 0x00000000, 0x000000ff, 0x0000ffff, 0x00ffffff, 0xffffffff -#else +#ifdef MSB_FIRST 0x00000000, 0xff000000, 0xffff0000, 0xffffff00, 0xffffffff +#else + 0x00000000, 0x000000ff, 0x0000ffff, 0x00ffffff, 0xffffffff #endif }; |