aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/features.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-14 11:29:55 +0000
committerMartin Kiewitz2010-07-14 11:29:55 +0000
commit539d10ea11b1335613bbf4901f6952c8d97c07d3 (patch)
tree67717cfa190ce0d2d87c9297fc0c5042d6275f2b /engines/sci/engine/features.cpp
parentb1f2ea64a7c1b472114831711a6929d2e761a1e0 (diff)
downloadscummvm-rg350-539d10ea11b1335613bbf4901f6952c8d97c07d3.tar.gz
scummvm-rg350-539d10ea11b1335613bbf4901f6952c8d97c07d3.tar.bz2
scummvm-rg350-539d10ea11b1335613bbf4901f6952c8d97c07d3.zip
SCI: adding sound version 2.1, to properly add sci2.1 signature for kDoSound(play)
svn-id: r50878
Diffstat (limited to 'engines/sci/engine/features.cpp')
-rw-r--r--engines/sci/engine/features.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/engine/features.cpp b/engines/sci/engine/features.cpp
index fee6e69da7..71f99dbbf5 100644
--- a/engines/sci/engine/features.cpp
+++ b/engines/sci/engine/features.cpp
@@ -140,6 +140,10 @@ SciVersion GameFeatures::detectDoSoundType() {
// This game is using early SCI0 sound code (different headers than
// SCI0 late)
_doSoundType = SCI_VERSION_0_EARLY;
+#ifdef ENABLE_SCI32
+ } else if (getSciVersion() >= SCI_VERSION_2_1) {
+ _doSoundType = SCI_VERSION_2_1;
+#endif
} else if (SELECTOR(nodePtr) == -1) {
// No nodePtr selector, so this game is definitely using newer
// SCI0 sound code (i.e. SCI_VERSION_0_LATE)