From 86c7b478e207ce5c9d05c14141d4abfb47048898 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Mon, 24 Aug 2015 21:43:25 -0700 Subject: [PATCH] 3DS: Skip run if the GBA context fails to start --- src/platform/3ds/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/platform/3ds/main.c b/src/platform/3ds/main.c index 73599817b..ae74fa026 100644 --- a/src/platform/3ds/main.c +++ b/src/platform/3ds/main.c @@ -117,7 +117,9 @@ int main() { if (!GBAContextLoadROM(&context, path, true)) { continue; } - GBAContextStart(&context); + if (!GBAContextStart(&context)) { + continue; + } while (aptMainLoop()) { hidScanInput(); int activeKeys = hidKeysHeld() & 0x3FF;