[Scummvm-git-logs] scummvm master -> 2c0f4cf5e0a4292f97eba7e0b8200c0f42ca995b
lephilousophe
lephilousophe at users.noreply.github.com
Sun Aug 1 19:25:46 UTC 2021
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:
2c0f4cf5e0 SCUMM: Fix build when FMTowns is disabled
Commit: 2c0f4cf5e0a4292f97eba7e0b8200c0f42ca995b
https://github.com/scummvm/scummvm/commit/2c0f4cf5e0a4292f97eba7e0b8200c0f42ca995b
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2021-08-01T21:25:22+02:00
Commit Message:
SCUMM: Fix build when FMTowns is disabled
Changed paths:
engines/scumm/scumm.cpp
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index 97e626a6ac..46d1f3e00c 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -595,11 +595,13 @@ ScummEngine::ScummEngine(OSystem *syst, const DetectorResult &dr)
_screenHeight = 200;
}
+#ifndef DISABLE_TOWNS_DUAL_LAYER_MODE
if (_game.platform == Common::kPlatformFMTowns) {
ConfMan.registerDefault("smooth_scroll", true);
if (ConfMan.hasKey("smooth_scroll"))
_enableSmoothScrolling = ConfMan.getBool("smooth_scroll");
}
+#endif
_bytesPerPixel = (_game.features & GF_16BIT_COLOR) ? 2 : 1;
uint8 sizeMult = _bytesPerPixel;
More information about the Scummvm-git-logs
mailing list