diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/advancedDetector.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/common/advancedDetector.cpp b/common/advancedDetector.cpp index da65c30411..f0f77ee26e 100644 --- a/common/advancedDetector.cpp +++ b/common/advancedDetector.cpp @@ -212,7 +212,12 @@ PluginError detectGameForEngineCreation( ConfMan.set("platform", Common::getPlatformCode(o->platform)); warning("Target upgraded from %s to %s", o->from, o->to); - ConfMan.flushToDisk(); + + if (ConfMan.hasKey("id_came_from_command_line")) { + warning("Target came from command line. Skipping save"); + } else { + ConfMan.flushToDisk(); + } break; } } |