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

Function errorNoCard

src/Osako/CardAgent.cpp:1193–1220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1191 }
1192
1193 void errorNoCard()
1194 {
1195 switch (msCommand)
1196 {
1197 case mcCommand2:
1198 case mcCommand3:
1199 msState = 4;
1200 msSelectAt = 1;
1201 mspPrintMemoryCard->init(PrintMemoryCard::mcNoCardContinue);
1202 break;
1203 case mcCommand4:
1204 msState = 3;
1205 msButtonAt = 8;
1206 mspPrintMemoryCard->init(PrintMemoryCard::mcGstNoLoad);
1207 break;
1208
1209 case mcCommand5:
1210 case mcCommand6:
1211 msState = 3;
1212 msButtonAt = 7;
1213 mspPrintMemoryCard->init(PrintMemoryCard::mcMissSaved);
1214 break;
1215 default:
1216#line 1326
1217 JUT_PANIC(0);
1218 break;
1219 }
1220 }
1221
1222 void errorWrongDevice()
1223 {

Callers 5

check0Function · 0.85
waitMountFunction · 0.85
waitCheckFunction · 0.85
openFunction · 0.85
waitReadFunction · 0.85

Calls 1

initMethod · 0.45

Tested by

no test coverage detected