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

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Thu Jun 17 20:30:11 CEST 2010


Revision: 49939
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49939&view=rev
Author:   mthreepwood
Date:     2010-06-17 18:30:11 +0000 (Thu, 17 Jun 2010)

Log Message:
-----------
Fix the QFG4 Demo: kStrSplit has been replaced with kRemapColors.

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-17 16:36:01 UTC (rev 49938)
+++ scummvm/trunk/engines/sci/engine/kernel.cpp	2010-06-17 18:30:11 UTC (rev 49939)
@@ -748,14 +748,16 @@
 		// In SCI1.1, kSetSynonyms is an empty function
 		_kernelNames[0x26] = "Empty";
 
-		// 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")) {
+			// 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 (g_sci->getPlatform() == Common::kPlatformWindows)
 				_kernelNames[0x26] = "Portrait";
 			else if (g_sci->getPlatform() == Common::kPlatformMacintosh)
 				_kernelNames[0x84] = "ShowMovie";
+		} else if (!strcmp(g_sci->getGameID(), "qfg4") && g_sci->isDemo()) {
+			_kernelNames[0x7b] = "RemapColors"; // QFG4 Demo has this SCI2 function instead of StrSplit
 		}
 
 		_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