all repos — mgba @ 1e1692e285e34c27c7671a128b06f7cb392e7d9b

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

1e1692e285e34c27c7671a128b06f7cb392e7d9b

parent

628e36c4ff9c7858445d0b8d4ff612eaf54ffb85

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;