mirror of https://github.com/mgba-emu/mgba.git
Use consistent conditionals for big endian detection (not all PowerPC hosts are big-endian!)
This commit is contained in:
parent
05d4a6ca17
commit
0a06af1aa6
|
@ -70,7 +70,7 @@ struct ARMCore;
|
||||||
|
|
||||||
union PSR {
|
union PSR {
|
||||||
struct {
|
struct {
|
||||||
#if defined(__POWERPC__) || defined(__PPC__)
|
#if defined(__BIG_ENDIAN__)
|
||||||
unsigned n : 1;
|
unsigned n : 1;
|
||||||
unsigned z : 1;
|
unsigned z : 1;
|
||||||
unsigned c : 1;
|
unsigned c : 1;
|
||||||
|
|
Loading…
Reference in New Issue