diff options
author | Nicolas Noble | 2002-05-12 21:59:03 +0000 |
---|---|---|
committer | Nicolas Noble | 2002-05-12 21:59:03 +0000 |
commit | b17a510c2444623c980155c14b9bfb3a9d870d6f (patch) | |
tree | c4dd6de3e2047d2fdb97df1a8588598c8d4b7951 /gameDetector.cpp | |
parent | e902309d30d654ec3290cf54529789710b735f73 (diff) | |
download | scummvm-rg350-b17a510c2444623c980155c14b9bfb3a9d870d6f.tar.gz scummvm-rg350-b17a510c2444623c980155c14b9bfb3a9d870d6f.tar.bz2 scummvm-rg350-b17a510c2444623c980155c14b9bfb3a9d870d6f.zip |
Almost closing bug #555105 (waiting for confirmation...)
svn-id: r4301
Diffstat (limited to 'gameDetector.cpp')
-rw-r--r-- | gameDetector.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gameDetector.cpp b/gameDetector.cpp index 3b7651720a..bad009effb 100644 --- a/gameDetector.cpp +++ b/gameDetector.cpp @@ -230,6 +230,7 @@ void GameDetector::parseCommandLine(int argc, char **argv) exit(1); case 'w': _saveconfig = true; + scummcfg->set_writing(true); HANDLE_OPT_OPTION(); if (option != NULL) scummcfg->change_filename(option); @@ -258,7 +259,7 @@ void GameDetector::parseCommandLine(int argc, char **argv) } } - if (_saveconfig) + if (_exe_name) scummcfg->flush(); return; |