aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kernel32.cpp
diff options
context:
space:
mode:
authorMax Horn2010-02-13 17:44:58 +0000
committerMax Horn2010-02-13 17:44:58 +0000
commit9575cc08a2d54af57ada390f0f736d64857a49d1 (patch)
treee2966a582ffb7b9828c25e0ce25fa991d6586836 /engines/sci/engine/kernel32.cpp
parenta82939c9bee20f2969f1006c1c9a836cea5c7903 (diff)
downloadscummvm-rg350-9575cc08a2d54af57ada390f0f736d64857a49d1.tar.gz
scummvm-rg350-9575cc08a2d54af57ada390f0f736d64857a49d1.tar.bz2
scummvm-rg350-9575cc08a2d54af57ada390f0f736d64857a49d1.zip
SCI: Move GameFeatures from EngineState to SciEngine
svn-id: r48049
Diffstat (limited to 'engines/sci/engine/kernel32.cpp')
-rw-r--r--engines/sci/engine/kernel32.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/engine/kernel32.cpp b/engines/sci/engine/kernel32.cpp
index 035388cbc2..f37631ec80 100644
--- a/engines/sci/engine/kernel32.cpp
+++ b/engines/sci/engine/kernel32.cpp
@@ -25,6 +25,7 @@
#ifdef ENABLE_SCI32
+#include "sci/engine/features.h"
#include "sci/engine/kernel.h"
#include "sci/engine/segment.h"
#include "sci/engine/state.h"
@@ -383,7 +384,7 @@ void Kernel::setKernelNamesSci21(EngineState *s) {
// This is interesting because they all have the same interpreter version (2.100.002), yet
// they would not be compatible with other games of the same interpreter.
- if (s->_features->detectSci21KernelType() == SCI_VERSION_2) {
+ if (g_sci->_features->detectSci21KernelType() == SCI_VERSION_2) {
_kernelNames = Common::StringList(sci2_default_knames, kKernelEntriesGk2Demo);
// OnMe is IsOnMe here, but they should be compatible
_kernelNames[0x23] = "Robot"; // Graph in SCI2