mirror of https://github.com/mgba-emu/mgba.git
3DS: Skip run if the GBA context fails to start
This commit is contained in:
parent
5ee5d9f78b
commit
86c7b478e2
|
@ -117,7 +117,9 @@ int main() {
|
||||||
if (!GBAContextLoadROM(&context, path, true)) {
|
if (!GBAContextLoadROM(&context, path, true)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
GBAContextStart(&context);
|
if (!GBAContextStart(&context)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
while (aptMainLoop()) {
|
while (aptMainLoop()) {
|
||||||
hidScanInput();
|
hidScanInput();
|
||||||
int activeKeys = hidKeysHeld() & 0x3FF;
|
int activeKeys = hidKeysHeld() & 0x3FF;
|
||||||
|
|
Loading…
Reference in New Issue