diff options
author | Martin Kiewitz | 2010-01-01 16:15:20 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-01-01 16:15:20 +0000 |
commit | d1b844d3c36b9011442d3a6538bc35878b3b694e (patch) | |
tree | 88d2210fbdbd99715525e7aee885b39b20da8bbe /engines/sci/sfx | |
parent | 153cf54850d49cadcd4adb322decce70c900b14b (diff) | |
download | scummvm-rg350-d1b844d3c36b9011442d3a6538bc35878b3b694e.tar.gz scummvm-rg350-d1b844d3c36b9011442d3a6538bc35878b3b694e.tar.bz2 scummvm-rg350-d1b844d3c36b9011442d3a6538bc35878b3b694e.zip |
SCI: syncing loop selector... again... fixes qfg1 ending... again... now sci0 only
svn-id: r46835
Diffstat (limited to 'engines/sci/sfx')
-rw-r--r-- | engines/sci/sfx/soundcmd.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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 && |