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

Function readTask

src/Osako/CardMgr.cpp:215–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213 }
214
215 void readTask(void *arg)
216 {
217 s32 chan = (s32)arg;
218 SaveFile *pSaveFile = msaCardData[chan].mSaveFile;
219
220 msaCardData[chan].mCardStatus = CARDRead(&msaCardData[chan].mFileInfo, pSaveFile->getBuf(), pSaveFile->getLength(), pSaveFile->getOffset());
221 msaCardData[chan].mProcessFlag |= mcRead;
222 msaCardData[chan].mTaskStatus = mcTaskDone;
223 }
224
225 bool write(s32 chan, SaveFile::FilePart filePart)
226 {

Callers

nothing calls this directly

Calls 4

CARDReadFunction · 0.85
getBufMethod · 0.45
getLengthMethod · 0.45
getOffsetMethod · 0.45

Tested by

no test coverage detected