diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/access/amazon/amazon_logic.cpp | 1 | ||||
-rw-r--r-- | engines/access/sound.h | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/access/amazon/amazon_logic.cpp b/engines/access/amazon/amazon_logic.cpp index 01450077bd..80c98a8ad1 100644 --- a/engines/access/amazon/amazon_logic.cpp +++ b/engines/access/amazon/amazon_logic.cpp @@ -365,6 +365,7 @@ void Opening::doTitle() { if (_vm->shouldQuit()) return; + _vm->_sound->stopSound(); _vm->_sound->playSound(0); _vm->_screen->forceFadeOut(); _vm->_events->_vbCount = 100; diff --git a/engines/access/sound.h b/engines/access/sound.h index 5089bd093b..dc8bd90b85 100644 --- a/engines/access/sound.h +++ b/engines/access/sound.h @@ -52,8 +52,6 @@ private: void clearSounds(); void playSound(Resource *res, int priority); - void stopSound(); - public: Common::Array<SoundEntry> _soundTable; bool _playingSound; @@ -69,6 +67,7 @@ public: Resource *loadSound(int fileNum, int subfile); void loadSounds(Common::Array<RoomInfo::SoundIdent> &sounds); + void stopSound(); void freeSounds(); }; |