aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2010-05-03 16:47:09 +0000
committerMartin Kiewitz2010-05-03 16:47:09 +0000
commitc67344d380fd964334df6d00d9ddb99ab2394fbd (patch)
tree2461804c725110904a6cb2c95c19c3946ea6c943 /engines/sci
parent1060b82f18ce3724c5215ded1a00de5d81d3451a (diff)
downloadscummvm-rg350-c67344d380fd964334df6d00d9ddb99ab2394fbd.tar.gz
scummvm-rg350-c67344d380fd964334df6d00d9ddb99ab2394fbd.tar.bz2
scummvm-rg350-c67344d380fd964334df6d00d9ddb99ab2394fbd.zip
SCI: reverting r48805 - caused regression in sq3new/kq1
svn-id: r48915
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/sound/soundcmd.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp
index 91664f65b9..20bce575f5 100644
--- a/engines/sci/sound/soundcmd.cpp
+++ b/engines/sci/sound/soundcmd.cpp
@@ -517,9 +517,8 @@ void SoundCommandParser::cmdStopSound(reg_t obj, int16 value) {
PUT_SEL32V(_segMan, obj, SELECTOR(state), kSoundStopped);
} else {
PUT_SEL32V(_segMan, obj, SELECTOR(handle), 0);
+ PUT_SEL32V(_segMan, obj, SELECTOR(signal), SIGNAL_OFFSET);
}
- // we need to set signal selector as well for SCI0 at least for sq3old, otherwise freeing the 2 guys wont work (endless loop)
- PUT_SEL32V(_segMan, obj, SELECTOR(signal), SIGNAL_OFFSET);
musicSlot->dataInc = 0;
musicSlot->signal = 0;