Skip to content

Commit 595c2b8

Browse files
Revert "serializenotedata doesn't need to use the slower external gettapnote function since it has the direct notedata available"
This reverts commit 2207d7d.
1 parent 8480006 commit 595c2b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/NoteData.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ const vector<NoteInfo>& NoteData::SerializeNoteData(const vector<float>& etaner)
201201
int rowNotes = 0;
202202
for (size_t q = 0; q < tracks; q++)
203203
{
204-
if(m_TapNotes[q][NonEmptyRowVector[i]].IsNote())
204+
if(GetTapNote(q, NonEmptyRowVector[i]).IsNote())
205205
{
206206
rowNotes |= 1 << q;
207207
}
@@ -226,7 +226,7 @@ vector<NoteInfo2>& NoteData::SerializeNoteData2(const vector<float>& etaner) {
226226
int rowNotes = 0;
227227
for (size_t q = 0; q < tracks; q++)
228228
{
229-
if (m_TapNotes[q][NonEmptyRowVector[i]].IsNote())
229+
if (GetTapNote(q, NonEmptyRowVector[i]).IsNote())
230230
{
231231
rowNotes |= 1 << q;
232232
}

0 commit comments

Comments
 (0)