Properly use registerDefault to set the default value for autosave_period
svn-id: r21537
This commit is contained in:
parent
d6f348638d
commit
0ee4f304b8
2 changed files with 1 additions and 5 deletions
|
@ -440,11 +440,6 @@ 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);
|
||||
}
|
||||
|
||||
// Quick preparse of command-line, looking for special debug flags
|
||||
for (int ii = argc - 1; ii >= 1; ii--) {
|
||||
s = argv[ii];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue