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

Function probe

src/Osako/CardMgr.cpp:30–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28 }
29
30 void probe()
31 {
32 s32 status = CARDProbeEx(msProbeSlot, &msaCardData[msProbeSlot].mMemSize, &msaCardData[msProbeSlot].mSectorSize);
33
34 if (status == CARD_RESULT_NOCARD)
35 {
36 msaCardData[msProbeSlot].mProcessFlag &= ~mcClear;
37 msaCardData[msProbeSlot].mProcessFlag &= ~mcError;
38 }
39
40 msaCardData[msProbeSlot].mProbeStatus = status;
41 msaCardData[msProbeSlot].mProcessFlag |= mcProbe;
42 msProbeSlot++;
43 msProbeSlot &= 1;
44 }
45
46 bool mount(s32 chan)
47 {

Callers 1

beginFrameFunction · 0.85

Calls 1

CARDProbeExFunction · 0.85

Tested by

no test coverage detected