diff options
Diffstat (limited to 'engines/simon/sound.cpp')
-rw-r--r-- | engines/simon/sound.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/simon/sound.cpp b/engines/simon/sound.cpp index 250baf0487..b65e1b9c80 100644 --- a/engines/simon/sound.cpp +++ b/engines/simon/sound.cpp @@ -589,6 +589,11 @@ void Sound::playVoiceData(byte *soundData, uint sound) { _mixer->playRaw(&_voiceHandle, buffer, size, rate, flags); } +void Sound::stopSfx5() { + _sfx5Playing = 0; + _mixer->stopHandle(_sfx5Handle); +} + void Sound::switchVoiceFile(uint disc) { if (_lastVoiceFile != disc) { stopAll(); |