3DS: Clean up entry point
This commit is contained in:
parent
dffe50c1d8
commit
b782705a20
1 changed files with 4 additions and 2 deletions
|
@ -38,7 +38,9 @@ int main(int argc, char *argv[]) {
|
||||||
// res = scummvm_main(argc-2, &argv[2]);
|
// res = scummvm_main(argc-2, &argv[2]);
|
||||||
// else
|
// else
|
||||||
// res = scummvm_main(argc, argv);
|
// res = scummvm_main(argc, argv);
|
||||||
scummvm_main(0, nullptr);
|
// scummvm_main(0, nullptr);
|
||||||
|
|
||||||
|
int res = scummvm_main(argc, argv);
|
||||||
|
|
||||||
g_system->destroy();
|
g_system->destroy();
|
||||||
|
|
||||||
|
@ -50,5 +52,5 @@ int main(int argc, char *argv[]) {
|
||||||
|
|
||||||
cfguExit();
|
cfguExit();
|
||||||
gfxExit();
|
gfxExit();
|
||||||
return 0;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue