aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound_adlib.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2011-10-01 21:42:29 +0200
committerJohannes Schickel2011-10-02 00:13:41 +0200
commit2dd85c0cad2ebf7d92cde9b18db8adb6e4a92a2f (patch)
tree504a8de2918dc762607f26e41eb5ce6a4a06bf2f /engines/kyra/sound_adlib.cpp
parent4f0e3261f3c7fb13d6c3090def23d1ab7a7acee4 (diff)
downloadscummvm-rg350-2dd85c0cad2ebf7d92cde9b18db8adb6e4a92a2f.tar.gz
scummvm-rg350-2dd85c0cad2ebf7d92cde9b18db8adb6e4a92a2f.tar.bz2
scummvm-rg350-2dd85c0cad2ebf7d92cde9b18db8adb6e4a92a2f.zip
KYRA: Some minor cleanup.
Diffstat (limited to 'engines/kyra/sound_adlib.cpp')
-rw-r--r--engines/kyra/sound_adlib.cpp17
1 files changed, 4 insertions, 13 deletions
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