MCPcopy Create free account
hub / github.com/DacoTaco/priiloader / ShowAutoBootError

Function ShowAutoBootError

tools/DacosLove/source/error.cpp:33–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31u8 error = 0;
32
33void ShowAutoBootError(void)
34{
35 PrintFormat( 0, 16, (rmode->viHeight)-144, "Error autobooting systemmenu!");
36 switch( error )
37 {
38 case ERROR_SYSMENU_TIKNOTFOUND:
39 PrintFormat( 0, 16, (rmode->viHeight)-128, "Ticket not found!");
40 break;
41 case ERROR_SYSMENU_TIKSIZEGETFAILED:
42 PrintFormat( 0, 16, (rmode->viHeight)-128, "Could not get ticket size!");
43 break;
44 case ERROR_SYSMENU_TIKREADFAILED:
45 PrintFormat( 0, 16, (rmode->viHeight)-128, "Could not read ticket!");
46 break;
47 case ERROR_SYSMENU_ESDIVERFIY_FAILED:
48 PrintFormat( 0, 16, (rmode->viHeight)-128, "ES_DiVerfiy failed! Is the IOS patched?");
49 break;
50 case ERROR_SYSMENU_IOSSTUB:
51 PrintFormat( 0, 16, (rmode->viHeight)-128, "The going to load IOS was detected as Stub!");
52 break;
53 case ERROR_SYSMENU_GETTMDSIZEFAILED:
54 PrintFormat( 0, 16, (rmode->viHeight)-128, "Could not get TMD size!");
55 break;
56 case ERROR_SYSMENU_GETTMDFAILED:
57 PrintFormat( 0, 16, (rmode->viHeight)-128, "Could not get TMD!");
58 break;
59 case ERROR_SYSMENU_BOOTNOTFOUND:
60 PrintFormat( 0, 16, (rmode->viHeight)-128, "Boot file not found!");
61 break;
62 case ERROR_SYSMENU_BOOTOPENFAILED:
63 PrintFormat( 0, 16, (rmode->viHeight)-128, "Could not open boot file!");
64 break;
65 case ERROR_SYSMENU_BOOTREADFAILED:
66 PrintFormat( 0, 16, (rmode->viHeight)-128, "Could not read boot file!");
67 break;
68 case ERROR_SYSMENU_BOOTGETSTATS:
69 PrintFormat( 0, 16, (rmode->viHeight)-128, "Could not get boot stats!");
70 break;
71 }
72 return;
73}
74void ShowHacksError(void)
75{
76 PrintFormat( 0, 16, (rmode->viHeight)-144, "Error loading hacks!");

Callers 1

ShowErrorFunction · 0.70

Calls 1

PrintFormatFunction · 0.70

Tested by

no test coverage detected