aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sfx
diff options
context:
space:
mode:
authorFilippos Karapetis2009-12-28 10:42:14 +0000
committerFilippos Karapetis2009-12-28 10:42:14 +0000
commitf41674fd51aa79d096b4aba6f2bafba3d401a3f7 (patch)
tree24ae4882c03efdfdeb18bbdca5b2f94bfcfa6e9f /engines/sci/sfx
parentf93537b2e5fc65e397554024f2869d31666eeb1f (diff)
downloadscummvm-rg350-f41674fd51aa79d096b4aba6f2bafba3d401a3f7.tar.gz
scummvm-rg350-f41674fd51aa79d096b4aba6f2bafba3d401a3f7.tar.bz2
scummvm-rg350-f41674fd51aa79d096b4aba6f2bafba3d401a3f7.zip
SCI/new music code: Hanging notes now stop when a sound is paused/stopped
svn-id: r46669
Diffstat (limited to 'engines/sci/sfx')
-rw-r--r--engines/sci/sfx/midiparser.h6
1 files changed, 4 insertions, 2 deletions
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: