[Scummvm-cvs-logs] SF.net SVN: scummvm:[49545] scummvm/trunk/engines/sci/engine/kernel.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Jun 9 19:04:03 CEST 2010


Revision: 49545
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49545&view=rev
Author:   thebluegr
Date:     2010-06-09 17:04:03 +0000 (Wed, 09 Jun 2010)

Log Message:
-----------
Limit kPortrait to be used in the Windows version of KQ6 only

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kernel.cpp

Modified: scummvm/trunk/engines/sci/engine/kernel.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kernel.cpp	2010-06-09 15:28:14 UTC (rev 49544)
+++ scummvm/trunk/engines/sci/engine/kernel.cpp	2010-06-09 17:04:03 UTC (rev 49545)
@@ -728,14 +728,14 @@
 		break;
 
 	case SCI_VERSION_1_1:
-		// In KQ6 CD, the empty kSetSynonyms function has been replaced
-		// with kPortrait. In KQ6 Mac, kPlayBack has been replaced by
-		// kShowMovie.
+		// In the Windows version of KQ6 CD, the empty kSetSynonyms
+		// function has been replaced with kPortrait. In KQ6 Mac,
+		// kPlayBack has been replaced by kShowMovie.
 		if (!strcmp(g_sci->getGameID(), "kq6")) {
-			if (g_sci->getPlatform() == Common::kPlatformMacintosh)
+			if (g_sci->getPlatform() == Common::kPlatformWindows)
+				_kernelNames[0x26] = "Portrait";
+			else if (g_sci->getPlatform() == Common::kPlatformMacintosh)
 				_kernelNames[0x84] = "ShowMovie";
-			else
-				_kernelNames[0x26] = "Portrait";
 		}
 
 		_kernelNames[0x71] = "PalVary";


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list