[Scummvm-git-logs] scummvm branch-2-6 -> 858c1db4a2fcaa7854dc779f5870b2296c171399

criezy noreply at scummvm.org
Sat Jun 25 18:56:23 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:
858c1db4a2 BASE: Add back default to 60 for engine_speed settings


Commit: 858c1db4a2fcaa7854dc779f5870b2296c171399
    https://github.com/scummvm/scummvm/commit/858c1db4a2fcaa7854dc779f5870b2296c171399
Author: Thierry Crozat (criezy at scummvm.org)
Date: 2022-06-25T19:56:03+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 6a7bb6d5c7c..40e853f65df 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