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

Method StoreFrameListChunk

Source/ChunkRenderText.cpp:339–350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337}
338
339void CChunkRenderText::StoreFrameListChunk(const CChunk *pChunk)
340{
341 // Pointers to frames
342 std::string str = "; Bank " + conv::from_uint(pChunk->GetBank()) + "\n";
343 str += GetLabelString(pChunk->GetLabel()) + ":\n";
344
345 for (int i = 0; i < pChunk->GetLength(); ++i) {
346 str += "\t.word " + GetLabelString(pChunk->GetDataPointerTarget(i)) + "\n";
347 }
348
349 m_songDataStrings.push_back(std::move(str));
350}
351
352void CChunkRenderText::StoreFrameChunk(const CChunk *pChunk)
353{

Callers

nothing calls this directly

Calls 4

from_uintFunction · 0.85
GetDataPointerTargetMethod · 0.80
GetBankMethod · 0.45
GetLengthMethod · 0.45

Tested by

no test coverage detected