From d1b844d3c36b9011442d3a6538bc35878b3b694e Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Fri, 1 Jan 2010 16:15:20 +0000 Subject: SCI: syncing loop selector... again... fixes qfg1 ending... again... now sci0 only svn-id: r46835 --- engines/sci/sfx/soundcmd.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/sci/sfx') diff --git a/engines/sci/sfx/soundcmd.cpp b/engines/sci/sfx/soundcmd.cpp index 22ab4dd330..c5d21a8a8f 100644 --- a/engines/sci/sfx/soundcmd.cpp +++ b/engines/sci/sfx/soundcmd.cpp @@ -804,6 +804,9 @@ void SoundCommandParser::cmdUpdateCues(reg_t obj, int16 value) { PUT_SEL32V(_segMan, obj, signal, musicSlot->signal); break; } + // Sync loop selector for SCI0 + if (_soundVersion <= SCI_VERSION_0_LATE) + PUT_SEL32V(_segMan, obj, loop, musicSlot->loop); // Signal the game when a digital sound effect is done playing if (musicSlot->pStreamAud && musicSlot->status == kSoundStopped && -- cgit v1.2.3