aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/detection.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2009-08-25 23:02:57 +0000
committerMatthew Hoops2009-08-25 23:02:57 +0000
commitb5da8a5cdcd3cd232798ed60f7258bf23e2e9c74 (patch)
tree96611085dd8d4d422d6842000fbd3742d490642d /engines/sci/detection.cpp
parenta039fc952f13e381278b7577f5fe1dd23c9d29a5 (diff)
downloadscummvm-rg350-b5da8a5cdcd3cd232798ed60f7258bf23e2e9c74.tar.gz
scummvm-rg350-b5da8a5cdcd3cd232798ed60f7258bf23e2e9c74.tar.bz2
scummvm-rg350-b5da8a5cdcd3cd232798ed60f7258bf23e2e9c74.zip
- Split SCI_VERSION_32 into SCI_VERSION_2, SCI_VERSION_2_1, and SCI_VERSION_3 (each version has a different kernel table).
- Improve map detection. - Fix SCI32 object and script initialization (Torin's Passage and GK1 scripts now start up, and probably most SCI2/2.1 games). - Add SCI2 and SCI2.1 kernel tables. svn-id: r43742
Diffstat (limited to 'engines/sci/detection.cpp')
-rw-r--r--engines/sci/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/detection.cpp b/engines/sci/detection.cpp
index f20a8a349e..95870e8f77 100644
--- a/engines/sci/detection.cpp
+++ b/engines/sci/detection.cpp
@@ -353,7 +353,7 @@ const ADGameDescription *SciMetaEngine::fallbackDetect(const Common::FSList &fsl
#ifndef ENABLE_SCI32
// Is SCI32 compiled in? If not, and this is a SCI32 game,
// stop here
- if (resourceManager->sciVersion() == SCI_VERSION_32) {
+ if (resourceManager->sciVersion() >= SCI_VERSION_2) {
SearchMan.remove("SCI_detection");
delete resourceManager;
return (const ADGameDescription *)&s_fallbackDesc;