[Scummvm-git-logs] scummvm master -> 398893b629d1ab4fa6b9d858e120320da5d95222

rvanlaar roland at rolandvanlaar.nl
Mon Jun 22 11:30:10 UTC 2020


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:
398893b629 DIRECTOR: Set machinetype for windows games to IBM.


Commit: 398893b629d1ab4fa6b9d858e120320da5d95222
    https://github.com/scummvm/scummvm/commit/398893b629d1ab4fa6b9d858e120320da5d95222
Author: Roland van Laar (roland at rolandvanlaar.nl)
Date: 2020-06-22T13:23:27+02:00

Commit Message:
DIRECTOR: Set machinetype for windows games to IBM.

The default platform is a Macintosh IIci.
All windows games can be assumed to run on an IBM machine.

Specifically: the FixPalette XObject is not needed on Windows.
It fixes the Palette when on Macintosh for QuickTime movies.
http://www.zeusprod.com/technote/patchpal.html

Changed paths:
    engines/director/director.cpp


diff --git a/engines/director/director.cpp b/engines/director/director.cpp
index a6d2b32fa2..27ebfda8a4 100644
--- a/engines/director/director.cpp
+++ b/engines/director/director.cpp
@@ -162,6 +162,9 @@ Common::Error DirectorEngine::run() {
 	_currentScore = new Score(this);
 	_currentPath = getPath(getEXEName(), _currentPath);
 
+	if (getPlatform() == Common::kPlatformWindows)
+		_machineType = 256; // IBM PC-type machine
+
 	if (getVersion() < 4) {
 		if (getPlatform() == Common::kPlatformWindows) {
 			_sharedCastFile = "SHARDCST.MMM";




More information about the Scummvm-git-logs mailing list