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

Function errorWrongDevice

src/Osako/CardAgent.cpp:1222–1249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1220 }
1221
1222 void errorWrongDevice()
1223 {
1224 switch (msCommand)
1225 {
1226 case mcCommand2:
1227 case mcCommand3:
1228 msState = 4;
1229 msSelectAt = 2;
1230 mspPrintMemoryCard->init(PrintMemoryCard::mcNoUseContinue);
1231 break;
1232 case mcCommand4:
1233 msState = 3;
1234 msButtonAt = 8;
1235 mspPrintMemoryCard->init(PrintMemoryCard::mcGstNoLoad);
1236 break;
1237
1238 case mcCommand5:
1239 case mcCommand6:
1240 msState = 3;
1241 msButtonAt = 7;
1242 mspPrintMemoryCard->init(PrintMemoryCard::mcMissSaved);
1243 break;
1244 default:
1245#line 1357
1246 JUT_PANIC(0);
1247 break;
1248 }
1249 }
1250
1251 void errorIOError()
1252 {

Callers 3

check0Function · 0.85
waitMountFunction · 0.85
waitCheckFunction · 0.85

Calls 1

initMethod · 0.45

Tested by

no test coverage detected