aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/kyra/sound_adlib.cpp17
-rw-r--r--engines/kyra/sound_adlib.h3
2 files changed, 4 insertions, 16 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
diff --git a/engines/kyra/sound_adlib.h b/engines/kyra/sound_adlib.h
index 962df40de8..c09fec997e 100644
--- a/engines/kyra/sound_adlib.h
+++ b/engines/kyra/sound_adlib.h
@@ -83,9 +83,6 @@ private:
void play(uint8 track);
- void unk1();
- void unk2();
-
AdLibDriver *_driver;
bool _v2;