aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kernel.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2010-06-09 17:04:03 +0000
committerFilippos Karapetis2010-06-09 17:04:03 +0000
commitd191c9d0f935d280d7c1a7e71e3e13bbb76ee893 (patch)
tree05e111a3887faa16e018ac5b1503281193cd5ae7 /engines/sci/engine/kernel.cpp
parenta542ce174b68e32a9266c8efaea7be877b74fccc (diff)
downloadscummvm-rg350-d191c9d0f935d280d7c1a7e71e3e13bbb76ee893.tar.gz
scummvm-rg350-d191c9d0f935d280d7c1a7e71e3e13bbb76ee893.tar.bz2
scummvm-rg350-d191c9d0f935d280d7c1a7e71e3e13bbb76ee893.zip
Limit kPortrait to be used in the Windows version of KQ6 only
svn-id: r49545
Diffstat (limited to 'engines/sci/engine/kernel.cpp')
-rw-r--r--engines/sci/engine/kernel.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/sci/engine/kernel.cpp b/engines/sci/engine/kernel.cpp
index 93af161219..08aa65aa6d 100644
--- a/engines/sci/engine/kernel.cpp
+++ b/engines/sci/engine/kernel.cpp
@@ -728,14 +728,14 @@ void Kernel::setDefaultKernelNames() {
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)
- _kernelNames[0x84] = "ShowMovie";
- else
+ if (g_sci->getPlatform() == Common::kPlatformWindows)
_kernelNames[0x26] = "Portrait";
+ else if (g_sci->getPlatform() == Common::kPlatformMacintosh)
+ _kernelNames[0x84] = "ShowMovie";
}
_kernelNames[0x71] = "PalVary";