From 92c3a4b5aab20786ceceb62458142561bc569b64 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Sat, 4 Sep 2010 08:28:53 +0000 Subject: SCI: lsl2 early uses sci0late sound fixes bug #3037012 and lsl2 now has music everywhere svn-id: r52513 --- engines/sci/engine/features.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3