[Scummvm-git-logs] scummvm master -> 97f45352fc7cb8aac0bc27e737498ad6074074a0
criezy
noreply at scummvm.org
Sat Jun 25 18:54:37 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
97f45352fc BASE: Add back default to 60 for engine_speed settings
Commit: 97f45352fc7cb8aac0bc27e737498ad6074074a0
https://github.com/scummvm/scummvm/commit/97f45352fc7cb8aac0bc27e737498ad6074074a0
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2022-06-25T19:54:19+01:00
Commit Message:
BASE: Add back default to 60 for engine_speed settings
This is used by 3D games to limit the frames per seconds.
The default value was lost in commit b586571900 when sync'ing
ScummVM and ResidualVM code. This resulting in a default of 0,
which means no throtling.
This should fix bug #13631
Changed paths:
base/commandLine.cpp
diff --git a/base/commandLine.cpp b/base/commandLine.cpp
index 211516a8236..a5686c61619 100644
--- a/base/commandLine.cpp
+++ b/base/commandLine.cpp
@@ -317,6 +317,7 @@ void registerDefaults() {
ConfMan.registerDefault("dump_scripts", false);
ConfMan.registerDefault("save_slot", -1);
ConfMan.registerDefault("autosave_period", 5 * 60); // By default, trigger autosave every 5 minutes
+ ConfMan.registerDefault("engine_speed", 60); // FPS limit for 3D games
#if defined(ENABLE_SCUMM) || defined(ENABLE_SWORD2)
ConfMan.registerDefault("object_labels", true);
More information about the Scummvm-git-logs
mailing list