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

Function errorEncoding

src/Osako/CardAgent.cpp:1281–1313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1279 }
1280
1281 void errorEncoding()
1282 {
1283 switch (msCommand)
1284 {
1285 case mcCommand3:
1286 msState = 4;
1287 msSelectAt = 6;
1288 mspPrintMemoryCard->init(PrintMemoryCard::mcNoFileNoSave);
1289 break;
1290 case mcCommand2:
1291 msState = 4;
1292 msSelectAt = 5;
1293 mspPrintMemoryCard->init(PrintMemoryCard::mcBrokenGoFormat);
1294 break;
1295
1296 case mcCommand4:
1297 msState = 3;
1298 msButtonAt = 8;
1299 mspPrintMemoryCard->init(PrintMemoryCard::mcGstNoLoad);
1300 break;
1301
1302 case mcCommand5:
1303 case mcCommand6:
1304 msState = 3;
1305 msButtonAt = 7;
1306 mspPrintMemoryCard->init(PrintMemoryCard::mcMissSaved);
1307 break;
1308 default:
1309#line 1426
1310 JUT_PANIC(0);
1311 break;
1312 }
1313 }
1314}

Callers 3

waitMountFunction · 0.85
waitCheckFunction · 0.85
openFunction · 0.85

Calls 1

initMethod · 0.45

Tested by

no test coverage detected