diff options
-rw-r--r-- | engines/hugo/sound.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/hugo/sound.cpp b/engines/hugo/sound.cpp index cdb3ced347..5f3ac52db6 100644 --- a/engines/hugo/sound.cpp +++ b/engines/hugo/sound.cpp @@ -65,6 +65,7 @@ void MidiPlayer::play(uint8 *stream, uint16 size) { return; } + stop(); _midiData = (uint8 *)malloc(size); if (_midiData) { memcpy(_midiData, stream, size); |