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

Function errorIOError

src/Osako/CardAgent.cpp:1251–1279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1249 }
1250
1251 void errorIOError()
1252 {
1253 CardMgr::unmount(msChan);
1254 switch (msCommand)
1255 {
1256 case mcCommand2:
1257 case mcCommand3:
1258 msState = 4;
1259 msSelectAt = 4;
1260 mspPrintMemoryCard->init(PrintMemoryCard::mcBrokenNoSaveContinue);
1261 break;
1262 case mcCommand4:
1263 msState = 3;
1264 msButtonAt = 8;
1265 mspPrintMemoryCard->init(PrintMemoryCard::mcGstNoLoad);
1266 break;
1267
1268 case mcCommand5:
1269 case mcCommand6:
1270 msState = 3;
1271 msButtonAt = 7;
1272 mspPrintMemoryCard->init(PrintMemoryCard::mcMissSaved);
1273 break;
1274 default:
1275#line 1391
1276 JUT_PANIC(0);
1277 break;
1278 }
1279 }
1280
1281 void errorEncoding()
1282 {

Callers 4

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

Calls 2

unmountFunction · 0.85
initMethod · 0.45

Tested by

no test coverage detected