I wanted to add mgba to wii
I also now that wii is PPC architecture so I added -D__PPC__ in makefile, but I’m getting this error:
src/arm/arm.c: In function 'ARMReset':
src/arm/arm.c:141:2: warning: implicit declaration of function 'asm' [-Wimplicit-function-declaration]
ARM_WRITE_PC;
^
In file included from src/arm/arm.h:9:0,
from src/arm/arm.c:6:
src/util/common.h:52:25: error: expected ')' before ':' token
asm("lwbrx %0, %1, %2" : "=r"(DEST) : "b"(_ptr), "r"(_addr)); \
^
src/arm/macros.h:11:17: note: in expansion of macro 'LOAD_32LE'
#define LOAD_32 LOAD_32LE
^
src/arm/isa-inlines.h:55:2: note: in expansion of macro 'LOAD
...
So … any help or hint to compile this emulator?