aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2010-09-04 08:28:53 +0000
committerMartin Kiewitz2010-09-04 08:28:53 +0000
commit92c3a4b5aab20786ceceb62458142561bc569b64 (patch)
tree236fb70c72aff8a56f9eb7bb9b2de4c17c3e0205
parentacc294c7a8ef32a6f5c054797185d859f99988a7 (diff)
downloadscummvm-rg350-92c3a4b5aab20786ceceb62458142561bc569b64.tar.gz
scummvm-rg350-92c3a4b5aab20786ceceb62458142561bc569b64.tar.bz2
scummvm-rg350-92c3a4b5aab20786ceceb62458142561bc569b64.zip
SCI: lsl2 early uses sci0late sound
fixes bug #3037012 and lsl2 now has music everywhere svn-id: r52513
-rw-r--r--engines/sci/engine/features.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/sci/engine/features.cpp b/engines/sci/engine/features.cpp
index 02aeab278b..66bd9da8ec 100644
--- a/engines/sci/engine/features.cpp
+++ b/engines/sci/engine/features.cpp
@@ -140,7 +140,10 @@ SciVersion GameFeatures::detectDoSoundType() {
if (getSciVersion() == SCI_VERSION_0_EARLY) {
// This game is using early SCI0 sound code (different headers than
// SCI0 late)
- _doSoundType = SCI_VERSION_0_EARLY;
+ if (g_sci->getGameId() == GID_LSL2)
+ _doSoundType = SCI_VERSION_0_LATE;
+ else
+ _doSoundType = SCI_VERSION_0_EARLY;
#ifdef ENABLE_SCI32
} else if (getSciVersion() >= SCI_VERSION_2_1) {
_doSoundType = SCI_VERSION_2_1;