diff options
author | Matthew Hoops | 2012-09-06 16:27:06 -0400 |
---|---|---|
committer | Matthew Hoops | 2012-09-06 16:27:06 -0400 |
commit | c22f76dbbc487b5a5e89d327bec2c550ce47378c (patch) | |
tree | 1ec878732be2d1b2b28bb9d933cc7cf77300f69f | |
parent | cc309f4d166ec74e06541145550cc86125f0247c (diff) | |
download | scummvm-rg350-c22f76dbbc487b5a5e89d327bec2c550ce47378c.tar.gz scummvm-rg350-c22f76dbbc487b5a5e89d327bec2c550ce47378c.tar.bz2 scummvm-rg350-c22f76dbbc487b5a5e89d327bec2c550ce47378c.zip |
AUDIO: Fill in _tracks from MidiParser_QT
-rw-r--r-- | audio/midiparser_qt.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/audio/midiparser_qt.cpp b/audio/midiparser_qt.cpp index 0701f7e919..8ddf6d66e7 100644 --- a/audio/midiparser_qt.cpp +++ b/audio/midiparser_qt.cpp @@ -193,7 +193,10 @@ void MidiParser_QT::initCommon() { // Now we have all our info needed in _trackInfo from whatever container // form, we can fill in the MidiParser tracks. - // TODO + _num_tracks = _trackInfo.size(); + + for (uint32 i = 0; i < _trackInfo.size(); i++) + MidiParser::_tracks[i] = _trackInfo[i].data; } byte *MidiParser_QT::readWholeTrack(Common::QuickTimeParser::Track *track) { |