aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/3ds/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/3ds/main.cpp')
-rw-r--r--backends/platform/3ds/main.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/backends/platform/3ds/main.cpp b/backends/platform/3ds/main.cpp
index 20983141c1..dc89faaef6 100644
--- a/backends/platform/3ds/main.cpp
+++ b/backends/platform/3ds/main.cpp
@@ -38,7 +38,9 @@ int main(int argc, char *argv[]) {
// res = scummvm_main(argc-2, &argv[2]);
// else
// res = scummvm_main(argc, argv);
- scummvm_main(0, nullptr);
+// scummvm_main(0, nullptr);
+
+ int res = scummvm_main(argc, argv);
g_system->destroy();
@@ -50,5 +52,5 @@ int main(int argc, char *argv[]) {
cfguExit();
gfxExit();
- return 0;
+ return res;
}