[Scummvm-git-logs] scummvm master -> 9956afb53f52006b28f02419c2c5e268d1c60af9
athrxx
noreply at scummvm.org
Sat Jul 16 23:56:39 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:
9956afb53f SCUMM: (v0-2): fix regression from 2fd8bf67
Commit: 9956afb53f52006b28f02419c2c5e268d1c60af9
https://github.com/scummvm/scummvm/commit/9956afb53f52006b28f02419c2c5e268d1c60af9
Author: athrxx (athrxx at scummvm.org)
Date: 2022-07-17T01:56:18+02:00
Commit Message:
SCUMM: (v0-2): fix regression from 2fd8bf67
(versions < 3 don't have the VAR_VIDEOMODE var)
Changed paths:
engines/scumm/vars.cpp
diff --git a/engines/scumm/vars.cpp b/engines/scumm/vars.cpp
index 28ba1a54c80..e6244610bf7 100644
--- a/engines/scumm/vars.cpp
+++ b/engines/scumm/vars.cpp
@@ -831,6 +831,9 @@ void ScummEngine::resetScummVars() {
}
void ScummEngine::setVideoModeVarToCurrentConfig() {
+ if (VAR_VIDEOMODE == 0xFF)
+ return;
+
if (_game.platform == Common::kPlatformFMTowns)
VAR(VAR_VIDEOMODE) = 42;
// Value only used by the Macintosh version of Indiana Jones and the Last Crusade
More information about the Scummvm-git-logs
mailing list