From 648d669c2dd3ddeaeb3d2ab4d3480ae08be85dd4 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 30 Aug 2020 03:05:35 +0300 Subject: [PATCH] SCI: Properly handle alternative MIDI sound effects for SCI01/CI1 games SCI01/SCI1 games have sound effects in SND files, which contain both digital sounds and their alternative MIDI counterparts. Allow the user to listen to the alternative MIDI counterparts by unchecking the "Prefer digital sound effects" checkbox, like with other SCI versions. Fixes bug #11587 --- engines/sci/sound/music.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/sci/sound/music.cpp b/engines/sci/sound/music.cpp index 8a24429b30c..a624e4040bd 100644 --- a/engines/sci/sound/music.cpp +++ b/engines/sci/sound/music.cpp @@ -393,7 +393,7 @@ void SciMusic::soundInitSnd(MusicEntry *pSnd) { } } } else - playSample = (track->digitalChannelNr != -1); + playSample = (track->digitalChannelNr != -1 && (_useDigitalSFX || track->channelCount == 1)); // Play digital sample if (playSample) {