mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 09:49:14 +00:00
SCI: also set signal selector when stopping sounds for SCI0 as well - fixes sq3 freeing 2 guys from andromeda endless loop
svn-id: r48805
This commit is contained in:
parent
6ccdb3cba0
commit
98ae0f8218
@ -517,8 +517,9 @@ 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 at least for sq3old (SCI0LATE), otherwise freeing the 2 guys wont work (endless loop)
|
||||
PUT_SEL32V(_segMan, obj, SELECTOR(signal), SIGNAL_OFFSET);
|
||||
|
||||
musicSlot->dataInc = 0;
|
||||
musicSlot->signal = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user