aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2010-06-17 18:30:11 +0000
committerMatthew Hoops2010-06-17 18:30:11 +0000
commit1cb4f703f116d5d69e72f9ae45fa863fb062ab9f (patch)
treea73edf11872ab68c99f39d3d1b29dfb0225b3061
parent5daa17473ba3b21683f111989eaa1156f72171cd (diff)
downloadscummvm-rg350-1cb4f703f116d5d69e72f9ae45fa863fb062ab9f.tar.gz
scummvm-rg350-1cb4f703f116d5d69e72f9ae45fa863fb062ab9f.tar.bz2
scummvm-rg350-1cb4f703f116d5d69e72f9ae45fa863fb062ab9f.zip
Fix the QFG4 Demo: kStrSplit has been replaced with kRemapColors.
svn-id: r49939
-rw-r--r--engines/sci/engine/kernel.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/engines/sci/engine/kernel.cpp b/engines/sci/engine/kernel.cpp
index ef219390a4..b6e064b4d5 100644
--- a/engines/sci/engine/kernel.cpp
+++ b/engines/sci/engine/kernel.cpp
@@ -748,14 +748,16 @@ void Kernel::setDefaultKernelNames() {
// 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";