diff options
author | Jamieson Christian | 2003-05-25 15:47:06 +0000 |
---|---|---|
committer | Jamieson Christian | 2003-05-25 15:47:06 +0000 |
commit | 11e59488ef4dcdd5931e926e45fcaaec4624793f (patch) | |
tree | 9248cf86799ae0bee595ccf87229c4ae625549b9 /simon | |
parent | 48f277e65d42c725163aa7516aae529fd94255f0 (diff) | |
download | scummvm-rg350-11e59488ef4dcdd5931e926e45fcaaec4624793f.tar.gz scummvm-rg350-11e59488ef4dcdd5931e926e45fcaaec4624793f.tar.bz2 scummvm-rg350-11e59488ef4dcdd5931e926e45fcaaec4624793f.zip |
Fixed occassional music crashes when loading games.
Thanks to eriktorbjorn for finding this issue.
svn-id: r7959
Diffstat (limited to 'simon')
-rw-r--r-- | simon/midiparser_s1d.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/simon/midiparser_s1d.cpp b/simon/midiparser_s1d.cpp index 56dadea109..e03129e0d4 100644 --- a/simon/midiparser_s1d.cpp +++ b/simon/midiparser_s1d.cpp @@ -46,7 +46,6 @@ public: MidiParser_S1D() : _data(0), _no_delta(false) {} bool loadMusic (byte *data, uint32 size); - void unloadMusic(); }; @@ -160,12 +159,4 @@ void MidiParser_S1D::resetTracking() { _no_delta = false; } -void MidiParser_S1D::unloadMusic() { - resetTracking(); - allNotesOff(); - _data = 0; - _num_tracks = 0; - _active_track = 255; -} - MidiParser *MidiParser_createS1D() { return new MidiParser_S1D; } |