diff options
Diffstat (limited to 'base/main.cpp')
-rw-r--r-- | base/main.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/base/main.cpp b/base/main.cpp index 2658d1dc67..bfb6611a91 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -340,8 +340,10 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) { // Process the remaining command line settings. Must be done after the // config file and the plugins have been loaded. - if (!Base::processSettings(command, settings)) - return 0; + Common::Error res; + + if ((res = Base::processSettings(command, settings)) != Common::kArgumentNotProcessed) + return res; // Init the backend. Must take place after all config data (including // the command line params) was read. |