change to GetTapNoteRange and use MAX_NOTE_ROW

This commit is contained in:
AJ Kelly
2011-05-10 19:43:30 -05:00
parent 5e262bec0f
commit f1546b4283
+1 -1
View File
@@ -78,7 +78,7 @@ static void Serialize( const NoteData &o, Json::Value &root )
for(int t=0; t<iNumTracks; t++ )
{
NoteData::TrackMap::iterator begin, end;
o.GetTapNoteRangeInclusive(t, 0, -1, begin, end );
o.GetTapNoteRange( t, 0, MAX_NOTE_ROW, begin, end );
//NoteData::TrackMap tm = o.GetTrack(t);
//FOREACHM_CONST( int, TapNote, tm, iter )
for( ; begin != end; ++begin )