From 2dd85c0cad2ebf7d92cde9b18db8adb6e4a92a2f Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 1 Oct 2011 21:42:29 +0200 Subject: KYRA: Some minor cleanup. --- engines/kyra/sound_adlib.cpp | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'engines/kyra/sound_adlib.cpp') diff --git a/engines/kyra/sound_adlib.cpp b/engines/kyra/sound_adlib.cpp index 67dc9863a8..6332431104 100644 --- a/engines/kyra/sound_adlib.cpp +++ b/engines/kyra/sound_adlib.cpp @@ -2297,8 +2297,8 @@ void SoundAdLibPC::playTrack(uint8 track) { } void SoundAdLibPC::haltTrack() { - unk1(); - unk2(); + playSoundEffect(0); + playSoundEffect(0); //_vm->_system->delayMillis(3 * 60); } @@ -2402,8 +2402,8 @@ void SoundAdLibPC::internalLoadFile(Common::String file) { return; } - unk2(); - unk1(); + playSoundEffect(0); + playSoundEffect(0); _driver->callback(8, int(-1)); _soundDataPtr = 0; @@ -2435,13 +2435,4 @@ void SoundAdLibPC::internalLoadFile(Common::String file) { _soundFileLoaded = file; } -void SoundAdLibPC::unk1() { - playSoundEffect(0); - //_vm->_system->delayMillis(5 * 60); -} - -void SoundAdLibPC::unk2() { - playSoundEffect(0); -} - } // End of namespace Kyra -- cgit v1.2.3