[Scummvm-git-logs] scummvm master -> 085fc616a86f9ed3490db7be763cc9bab9ce7980
sev-
sev at scummvm.org
Sun Sep 26 08:26:42 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:
085fc616a8 DIRECTOR: Properly set `the colorDepth` for 32bpp mode
Commit: 085fc616a86f9ed3490db7be763cc9bab9ce7980
https://github.com/scummvm/scummvm/commit/085fc616a86f9ed3490db7be763cc9bab9ce7980
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-09-26T10:26:02+02:00
Commit Message:
DIRECTOR: Properly set `the colorDepth` for 32bpp mode
Changed paths:
engines/director/director.cpp
diff --git a/engines/director/director.cpp b/engines/director/director.cpp
index 83db5d7e07..ab626f6304 100644
--- a/engines/director/director.cpp
+++ b/engines/director/director.cpp
@@ -100,7 +100,11 @@ DirectorEngine::DirectorEngine(OSystem *syst, const DirectorGameDescription *gam
SearchMan.addSubDirectoryMatching(_gameDataDir, directoryGlob);
}
- _colorDepth = 8; // 256-color
+ if (debugChannelSet(-1, kDebug32bpp))
+ _colorDepth = 32;
+ else
+ _colorDepth = 8; // 256-color
+
switch (getPlatform()) {
case Common::kPlatformMacintoshII:
_machineType = 4;
More information about the Scummvm-git-logs
mailing list