all repos — mgba @ e27e3333052238777f4acdb029f02f1fee90626c

mGBA Game Boy Advance Emulator

Wii: Fix build
Vicki Pfau vi@endrift.com
Sun, 27 Dec 2020 16:14:13 -0800
commit

e27e3333052238777f4acdb029f02f1fee90626c

parent

62d70757515b8b32f67c35235c769b9a773a6ef5

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

jump to
M src/platform/wii/main.csrc/platform/wii/main.c

@@ -915,7 +915,7 @@ }

void _gameLoaded(struct mGUIRunner* runner) { reconfigureScreen(runner); - if (runner->core->platform(runner->core) == PLATFORM_GBA && ((struct GBA*) runner->core->board)->memory.hw.devices & HW_GYRO) { + if (runner->core->platform(runner->core) == mPLATFORM_GBA && ((struct GBA*) runner->core->board)->memory.hw.devices & HW_GYRO) { int i; for (i = 0; i < 6; ++i) { u32 result = WPAD_SetMotionPlus(0, 1);