aboutsummaryrefslogtreecommitdiff
path: root/base/gameDetector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'base/gameDetector.cpp')
-rw-r--r--base/gameDetector.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/gameDetector.cpp b/base/gameDetector.cpp
index 63cb075401..0538a56de6 100644
--- a/base/gameDetector.cpp
+++ b/base/gameDetector.cpp
@@ -159,6 +159,7 @@ GameDetector::GameDetector() {
ConfMan.registerDefault("subtitles", false);
ConfMan.registerDefault("boot_param", 0);
ConfMan.registerDefault("save_slot", -1);
+ ConfMan.registerDefault("autosave_period", 5 * 60); // By default, trigger autosave every 5 minutes
#if !defined(DISABLE_SCUMM) || !defined(DISABLE_SWORD2)
ConfMan.registerDefault("object_labels", true);