[Scummvm-git-logs] scummvm master -> e7f2c71c6693863a67060cf268927db5863a8ac4
AndywinXp
noreply at scummvm.org
Sat Aug 6 18:24:17 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:
e7f2c71c66 SCUMM: Set a default value for original_gui in the Config Manager if absent
Commit: e7f2c71c6693863a67060cf268927db5863a8ac4
https://github.com/scummvm/scummvm/commit/e7f2c71c6693863a67060cf268927db5863a8ac4
Author: AndywinXp (andywinxp at gmail.com)
Date: 2022-08-06T20:24:11+02:00
Commit Message:
SCUMM: Set a default value for original_gui in the Config Manager if absent
Changed paths:
engines/scumm/scumm.cpp
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index db0d161ac8e..b16fdd20809 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -1377,8 +1377,11 @@ void ScummEngine::setupScumm(const Common::String &macResourceFile) {
#ifdef ENABLE_SCUMM_7_8
void ScummEngine_v7::setupScumm(const Common::String &macResourceFile) {
- if (ConfMan.hasKey("original_gui", _targetName))
- _useOriginalGUI = ConfMan.getBool("original_gui");
+ if (!ConfMan.hasKey("original_gui", _targetName)) {
+ ConfMan.setBool("original_gui", true);
+ }
+
+ _useOriginalGUI = ConfMan.getBool("original_gui");
// The object line toggle is always synchronized from the main game to
// our internal Game Options; at startup we do the opposite, since an user
More information about the Scummvm-git-logs
mailing list