MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / GetNoteCount

Method GetNoteCount

Source/PatternData.cpp:92–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92unsigned CPatternData::GetNoteCount(int maxrows) const {
93 unsigned count = 0;
94 VisitRows(maxrows, [&] (const stChanNote &note, unsigned row) {
95 if (note != BLANK)
96 ++count;
97 });
98 return count;
99}
100
101bool CPatternData::IsEmpty() const {
102 if (!data_)

Callers 2

to_jsonFunction · 0.45
SavePatternsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected