aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2011-10-29 02:40:50 +0200
committerJohannes Schickel2011-10-29 02:40:50 +0200
commit488fb5c14b99f6cf7e6c1040ec56e3fbe5432be1 (patch)
tree2173eb3c28778e77c9cd6fb982f4cb460dc75797 /engines
parent8ea2d5dbb1415574f132d414cb945a0ffac5a8ec (diff)
downloadscummvm-rg350-488fb5c14b99f6cf7e6c1040ec56e3fbe5432be1.tar.gz
scummvm-rg350-488fb5c14b99f6cf7e6c1040ec56e3fbe5432be1.tar.bz2
scummvm-rg350-488fb5c14b99f6cf7e6c1040ec56e3fbe5432be1.zip
KYRA: Fix haltTrack and beginFadeOut for AdLib driver.
Formerly the were not executed properly when the sfx output was disabled.
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/sound_adlib.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/sound_adlib.cpp b/engines/kyra/sound_adlib.cpp
index c03975ad9b..46d407a640 100644
--- a/engines/kyra/sound_adlib.cpp
+++ b/engines/kyra/sound_adlib.cpp
@@ -2304,8 +2304,8 @@ void SoundAdLibPC::playTrack(uint8 track) {
}
void SoundAdLibPC::haltTrack() {
- playSoundEffect(0);
- playSoundEffect(0);
+ play(0);
+ play(0);
//_vm->_system->delayMillis(3 * 60);
}
@@ -2333,7 +2333,7 @@ void SoundAdLibPC::play(uint8 track) {
}
void SoundAdLibPC::beginFadeOut() {
- playSoundEffect(1);
+ play(1);
}
void SoundAdLibPC::loadSoundFile(uint file) {