3DS: Skip run if the GBA context fails to start
Jeffrey Pfau jeffrey@endrift.com
Mon, 24 Aug 2015 21:43:25 -0700
1 files changed,
3 insertions(+),
1 deletions(-)
jump to
M
src/platform/3ds/main.c
→
src/platform/3ds/main.c
@@ -117,7 +117,9 @@ _drawEnd();
if (!GBAContextLoadROM(&context, path, true)) { continue; } - GBAContextStart(&context); + if (!GBAContextStart(&context)) { + continue; + } while (aptMainLoop()) { hidScanInput(); int activeKeys = hidKeysHeld() & 0x3FF;