mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-24 19:45:07 +00:00
KYRA: Fix haltTrack and beginFadeOut for AdLib driver.
Formerly the were not executed properly when the sfx output was disabled.
This commit is contained in:
parent
8ea2d5dbb1
commit
488fb5c14b
@ -2304,8 +2304,8 @@ void SoundAdLibPC::playTrack(uint8 track) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void SoundAdLibPC::haltTrack() {
|
void SoundAdLibPC::haltTrack() {
|
||||||
playSoundEffect(0);
|
play(0);
|
||||||
playSoundEffect(0);
|
play(0);
|
||||||
//_vm->_system->delayMillis(3 * 60);
|
//_vm->_system->delayMillis(3 * 60);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2333,7 +2333,7 @@ void SoundAdLibPC::play(uint8 track) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void SoundAdLibPC::beginFadeOut() {
|
void SoundAdLibPC::beginFadeOut() {
|
||||||
playSoundEffect(1);
|
play(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SoundAdLibPC::loadSoundFile(uint file) {
|
void SoundAdLibPC::loadSoundFile(uint file) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user