aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorMax Horn2004-12-05 17:35:24 +0000
committerMax Horn2004-12-05 17:35:24 +0000
commit8d4fcb1689a4c80fa9ef3ec84194fa791bd2c00e (patch)
tree9adbb5923b30388d681944e4ae65286333fc3e44 /base
parent87b472c9e8bfe81ce75f33fae210ce9389a4d29f (diff)
downloadscummvm-rg350-8d4fcb1689a4c80fa9ef3ec84194fa791bd2c00e.tar.gz
scummvm-rg350-8d4fcb1689a4c80fa9ef3ec84194fa791bd2c00e.tar.bz2
scummvm-rg350-8d4fcb1689a4c80fa9ef3ec84194fa791bd2c00e.zip
Turn off 'launcher looping' for now
svn-id: r15989
Diffstat (limited to 'base')
-rw-r--r--base/main.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/base/main.cpp b/base/main.cpp
index 3abb77bc94..a276ec786c 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -387,11 +387,8 @@ extern "C" int scummvm_main(GameDetector &detector, int argc, char *argv[]) {
PluginManager::instance().unloadPluginsExcept(detector._plugin);
int result = runGame(detector, system);
- // TODO: for now, return code 0 (which is currently the only return
- // code anyway) is interpreted to mean "return to launcher". This is
- // *not* fixed, we could (and probably will) change the meaning etc.
- if (result != 0)
- running = false;
+ if (result == 0)
+ break;
// There are some command-line options that it's
// unlikely that we want to preserve now that we're