Changed sourcecode for CPR
This commit is contained in:
1 parent
dc74e50356
commit
b87e574f29
4 files changed
+173
-60
No files matched your search
+12
-12
@@ -291,25 +291,25 @@ void ipl_main()
|
||||
|
||||
gfx_clearscreen();
|
||||
|
||||
int res = -1;
|
||||
// int res = -1;
|
||||
|
||||
|
||||
if (btn_read() & BTN_VOL_DOWN || DumpKeys())
|
||||
res = GetKeysFromFile("sd:/switch/prod.keys");
|
||||
// if (btn_read() & BTN_VOL_DOWN || DumpKeys())
|
||||
// res = GetKeysFromFile("sd:/switch/prod.keys");
|
||||
|
||||
TConf.keysDumped = (res > 0) ? 0 : 1;
|
||||
// TConf.keysDumped = (res > 0) ? 0 : 1;
|
||||
|
||||
if (res > 0)
|
||||
DrawError(newErrCode(TE_ERR_KEYDUMP_FAIL));
|
||||
// if (res > 0)
|
||||
// DrawError(newErrCode(TE_ERR_KEYDUMP_FAIL));
|
||||
|
||||
if (TConf.keysDumped)
|
||||
SetKeySlots();
|
||||
// if (TConf.keysDumped)
|
||||
// SetKeySlots();
|
||||
|
||||
if (res == 0)
|
||||
hidWait();
|
||||
// if (res == 0)
|
||||
// hidWait();
|
||||
|
||||
if (FileExists("sd:/startup.te"))
|
||||
RunScript("sd:/", newFSEntry("startup.te"));
|
||||
// if (FileExists("sd:/startup.te"))
|
||||
// RunScript("sd:/", newFSEntry("startup.te"));
|
||||
|
||||
EnterMainMenu();
|
||||
|
||||
|
||||
Reference in new issue
Block a user