From f41674fd51aa79d096b4aba6f2bafba3d401a3f7 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 28 Dec 2009 10:42:14 +0000 Subject: SCI/new music code: Hanging notes now stop when a sound is paused/stopped svn-id: r46669 --- engines/sci/sfx/midiparser.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'engines/sci/sfx') diff --git a/engines/sci/sfx/midiparser.h b/engines/sci/sfx/midiparser.h index 3baa886896..0467360d91 100644 --- a/engines/sci/sfx/midiparser.h +++ b/engines/sci/sfx/midiparser.h @@ -56,10 +56,12 @@ public: void unloadMusic(); void setVolume(byte bVolume); void stop() { - _abort_parse = true;/*hangAllActiveNotes();*/ + _abort_parse = true; + allNotesOff(); } void pause() { - _abort_parse = true; /*hangAllActiveNotes();*/ + _abort_parse = true; + allNotesOff(); } protected: -- cgit v1.2.3