From 8f284ad396445549602369c9c2158280b9784fc2 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 6 Jul 2009 15:30:07 +0000 Subject: KQ6CD should be working correctly again svn-id: r42178 --- engines/sci/detection.cpp | 2 +- engines/sci/engine/kernel.cpp | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'engines/sci') diff --git a/engines/sci/detection.cpp b/engines/sci/detection.cpp index 79088c86ff..9e73435977 100644 --- a/engines/sci/detection.cpp +++ b/engines/sci/detection.cpp @@ -1241,7 +1241,7 @@ static const struct SciGameDescription SciGameDescriptions[] = { {"resource.000", 0, "233394a5f33b475ae5975e7e9a420865", 8376352}, {NULL, 0, NULL, 0}}, Common::EN_ANY, Common::kPlatformPC, 0, GUIO_NONE}, 0, - 7, + SCI_VERSION_1_1, SCI_VERSION_1_1 }, diff --git a/engines/sci/engine/kernel.cpp b/engines/sci/engine/kernel.cpp index 2f8461a34a..e2e13aea27 100644 --- a/engines/sci/engine/kernel.cpp +++ b/engines/sci/engine/kernel.cpp @@ -793,6 +793,11 @@ void Kernel::setDefaultKernelNames() { offset = 4; } } + + if (_resmgr->_sciVersion == SCI_VERSION_1_1) { + // HACK: KQ6CD calls unimplemented function 0x26 + _kernelNames[0x26] = "Dummy"; + } } #ifdef ENABLE_SCI32 -- cgit v1.2.3