Fix broken Little transform

This commit is contained in:
Chris Danford
2003-03-13 09:03:21 +00:00
parent 195cd01db5
commit af6e1f764c
+4 -3
View File
@@ -999,9 +999,10 @@ void NoteDataUtil::Little(NoteData &in)
// filter out all non-quarter notes
int max_row = in.GetLastRow();
for( i=0; i<=max_row; i+=ROWS_PER_BEAT )
for( int c=0; c<in.GetNumTracks(); c++ )
in.SetTapNote(c, i, TAP_EMPTY);
for( i=0; i<=max_row; i+=1 )
if( i % ROWS_PER_BEAT != 0 )
for( int c=0; c<in.GetNumTracks(); c++ )
in.SetTapNote(c, i, TAP_EMPTY);
for( i=in.GetNumHoldNotes()-1; i>=0; i-- )
if( fmodf(in.GetHoldNote(i).fStartBeat,1) != 0 ) // doesn't start on a beat