From 1cb4f703f116d5d69e72f9ae45fa863fb062ab9f Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Thu, 17 Jun 2010 18:30:11 +0000 Subject: Fix the QFG4 Demo: kStrSplit has been replaced with kRemapColors. svn-id: r49939 --- engines/sci/engine/kernel.cpp | 8 +++++--- 1 file 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"; -- cgit v1.2.3