MCPcopy Create free account
hub / github.com/doldecomp/mkdd / initData

Method initData

src/Osako/SystemFile.cpp:169–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169void SystemFile::initData(u8 dataNo)
170{
171#line 307
172 JUT_MINMAX_ASSERT(0, dataNo, 2)
173
174 void *iplBmg = ResMgr::getPtr(ResMgr::mcIpl);
175 char *comment = ReadPrintMessage::getMessage(iplBmg, 2);
176 strncpy(mFileData[dataNo].mComment, comment, COMMENT_SIZE);
177 mFileData[dataNo].mTag[0] = '\0'; // This makes no sense
178 mFileData[dataNo].mCheckData.init();
179}
180
181void SystemFile::setCheckData(OSTime time)
182{

Callers

nothing calls this directly

Calls 4

getPtrFunction · 0.85
getMessageFunction · 0.85
strncpyFunction · 0.85
initMethod · 0.45

Tested by

no test coverage detected