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
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
include/mgba/internal/arm/arm.h
→
include/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;