all repos — mgba @ 86c7b478e207ce5c9d05c14141d4abfb47048898

mGBA Game Boy Advance Emulator

3DS: Skip run if the GBA context fails to start
Jeffrey Pfau jeffrey@endrift.com
Mon, 24 Aug 2015 21:43:25 -0700
commit

86c7b478e207ce5c9d05c14141d4abfb47048898

parent

5ee5d9f78b3a94010b6e2e43fda014061d907d25

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

jump to
M src/platform/3ds/main.csrc/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;