From 146d00a799f425a0871709bdf75557a0d7be9424 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 22 Oct 2012 12:19:13 +0300 Subject: SCI: Add the Inside the Chest / Benind the Developer's Shield demo --- engines/sci/engine/features.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'engines/sci/engine') 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; -- cgit v1.2.3