From 488fb5c14b99f6cf7e6c1040ec56e3fbe5432be1 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 29 Oct 2011 02:40:50 +0200 Subject: KYRA: Fix haltTrack and beginFadeOut for AdLib driver. Formerly the were not executed properly when the sfx output was disabled. --- engines/kyra/sound_adlib.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/kyra/sound_adlib.cpp') 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) { -- cgit v1.2.3