aboutsummaryrefslogtreecommitdiff
path: root/sound/midiparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/midiparser.h')
-rw-r--r--sound/midiparser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/midiparser.h b/sound/midiparser.h
index 3e86181fb1..a9c2650915 100644
--- a/sound/midiparser.h
+++ b/sound/midiparser.h
@@ -277,7 +277,9 @@ protected:
bool _autoLoop; //!< For lightweight clients that don't provide their own flow control.
bool _smartJump; //!< Support smart expiration of hanging notes when jumping
- byte * _tracks[32]; //!< Multi-track MIDI formats are supported, up to 32 tracks.
+ // FIXME: ? Was 32 here, Kyra tracks use 120(!!!) which seems wrong. this is a hacky
+ // workaround until situation is investigated.
+ byte * _tracks[120]; //!< Multi-track MIDI formats are supported, up to 120 tracks.
byte _num_tracks; //!< Count of total tracks for multi-track MIDI formats. 1 for single-track formats.
byte _active_track; //!< Keeps track of the currently active track, in multi-track formats.