all repos — mgba @ 0a06af1aa66ad999c2e022b86768fdb66769f58a

mGBA Game Boy Advance Emulator

Use consistent conditionals for big endian detection (not all PowerPC hosts are big-endian!)
lif lifning+git@pm.me
Tue, 21 Apr 2020 18:58:58 -0700
commit

0a06af1aa66ad999c2e022b86768fdb66769f58a

parent

05d4a6ca17c41f633dbafcecbb2d8e6239ed3294

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M include/mgba/internal/arm/arm.hinclude/mgba/internal/arm/arm.h

@@ -70,7 +70,7 @@ struct ARMCore;

union PSR { struct { -#if defined(__POWERPC__) || defined(__PPC__) +#if defined(__BIG_ENDIAN__) unsigned n : 1; unsigned z : 1; unsigned c : 1;