3DS: Skip run if the GBA context fails to start

This commit is contained in:
Jeffrey Pfau 2015-08-24 21:43:25 -07:00
parent 5ee5d9f78b
commit 86c7b478e2
1 changed files with 3 additions and 1 deletions

View File

@ -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;