From 8cc82d0a0b290a5d7cfdd15b22304fe4e33422a2 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Sat, 23 Nov 2013 16:11:07 +0100 Subject: SCI: Make fade signal version check more precise --- engines/sci/sound/soundcmd.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines/sci/sound/soundcmd.cpp') diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp index 92fbdbf604..aa2a309f4d 100644 --- a/engines/sci/sound/soundcmd.cpp +++ b/engines/sci/sound/soundcmd.cpp @@ -511,10 +511,12 @@ void SoundCommandParser::processUpdateCues(reg_t obj) { // TODO: More thorougly check the different SCI version: // * SCI1late sets signal to 0xFE here. (With signal 0xFF // duplicate music plays in LauraBow2CD - bug #6462) + // SCI1middle LSL1 1.000.510 does not have the 0xFE; + // SCI1late CastleDrBrain demo 1.000.005 does have the 0xFE. // * Other SCI1 games seem to rely on processStopSound to set the signal // * Need to check SCI0 behaviour. uint16 sig; - if (_soundVersion >= SCI_VERSION_1_LATE) + if (getSciVersion() >= SCI_VERSION_1_LATE) sig = 0xFFFE; else sig = SIGNAL_OFFSET; -- cgit v1.2.3