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

Method StoreSongListChunk

Source/ChunkRenderText.cpp:309–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307}
308
309void CChunkRenderText::StoreSongListChunk(const CChunk *pChunk)
310{
311 std::string str = GetLabelString(pChunk->GetLabel()) + ":\n";
312
313 for (int i = 0; i < pChunk->GetLength(); ++i) {
314 str += "\t.word " + GetLabelString(pChunk->GetDataPointerTarget(i)) + "\n";
315 }
316
317 m_songListStrings.push_back(std::move(str));
318}
319
320void CChunkRenderText::StoreSongChunk(const CChunk *pChunk)
321{

Callers

nothing calls this directly

Calls 2

GetDataPointerTargetMethod · 0.80
GetLengthMethod · 0.45

Tested by

no test coverage detected