aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorFilippos Karapetis2012-10-22 12:19:13 +0300
committerFilippos Karapetis2012-10-22 12:19:13 +0300
commit146d00a799f425a0871709bdf75557a0d7be9424 (patch)
tree2932fbfa6bf7610d1477b61cb905b05ac8a2f818 /engines/sci/engine
parent686775138dbd2553c966f066dea53b90360bdcb3 (diff)
downloadscummvm-rg350-146d00a799f425a0871709bdf75557a0d7be9424.tar.gz
scummvm-rg350-146d00a799f425a0871709bdf75557a0d7be9424.tar.bz2
scummvm-rg350-146d00a799f425a0871709bdf75557a0d7be9424.zip
SCI: Add the Inside the Chest / Benind the Developer's Shield demo
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/features.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/sci/engine/features.cpp b/engines/sci/engine/features.cpp
index 22c0a1479d..49e2bfc79f 100644
--- a/engines/sci/engine/features.cpp
+++ b/engines/sci/engine/features.cpp
@@ -466,6 +466,14 @@ bool GameFeatures::autoDetectSci21KernelType() {
// This case doesn't occur in early SCI2.1 games, and we've only
// seen it happen in the RAMA demo, thus we can assume that the
// game is using a SCI2.1 table
+
+ // HACK: The Inside the Chest Demo doesn't have sounds at all, but
+ // it's using a SCI2 kernel
+ if (g_sci->getGameId() == GID_CHEST) {
+ _sci21KernelType = SCI_VERSION_2;
+ return true;
+ }
+
warning("autoDetectSci21KernelType(): Sound object not loaded, assuming a SCI2.1 table");
_sci21KernelType = SCI_VERSION_2_1;
return true;