diff options
Diffstat (limited to 'base/main.cpp')
-rw-r--r-- | base/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/base/main.cpp b/base/main.cpp index 0ec3b1fdb4..b09fd3acbb 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -402,6 +402,11 @@ extern "C" int main(int argc, char *argv[]) { // Update the config file ConfMan.set("versioninfo", gScummVMVersion, Common::ConfigManager::kApplicationDomain); + if (!ConfMan.hasKey("autosave_period")) { + // By default, trigger autosave every 5 minutes + ConfMan.set("autosave_period", 5 * 60, Common::ConfigManager::kApplicationDomain); + } + // Load the plugins PluginManager::instance().loadPlugins(); |