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

Method StoreInstrumentListChunk

Source/ChunkRenderText.cpp:213–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213void CChunkRenderText::StoreInstrumentListChunk(const CChunk *pChunk)
214{
215 // Store instrument pointers
216 std::string str = GetLabelString(pChunk->GetLabel()) + ":\n";
217
218 for (int i = 0; i < pChunk->GetLength(); ++i)
219 str += "\t.word " + GetLabelString(pChunk->GetDataPointerTarget(i)) + "\n";
220
221 m_instrumentListStrings.push_back(std::move(str));
222}
223
224void CChunkRenderText::StoreInstrumentChunk(const CChunk *pChunk)
225{

Callers

nothing calls this directly

Calls 2

GetDataPointerTargetMethod · 0.80
GetLengthMethod · 0.45

Tested by

no test coverage detected