mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 21:52:48 +00:00
fix crashes when showing certain error messages
This commit is contained in:
parent
1554aac4e1
commit
cb11db6f1b
@ -1830,7 +1830,7 @@ u32 FileHandlerMenu(char* current_path, u32* cursor, u32* scroll, PaneData** pan
|
|||||||
} else if (ShowPrompt(false, "%s\nLegit ticket not found.\n \nDump anyways?", pathstr)) {
|
} else if (ShowPrompt(false, "%s\nLegit ticket not found.\n \nDump anyways?", pathstr)) {
|
||||||
if (DumpTicketForGameFile(file_path, false) == 0)
|
if (DumpTicketForGameFile(file_path, false) == 0)
|
||||||
ShowPrompt(false, "%s\nTicket dumped to %s", pathstr, OUTPUT_PATH);
|
ShowPrompt(false, "%s\nTicket dumped to %s", pathstr, OUTPUT_PATH);
|
||||||
else ShowPrompt(false, "%s\nDump ticket failed!");
|
else ShowPrompt(false, "%s\nDump ticket failed!", pathstr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
@ -2047,7 +2047,7 @@ u32 FileHandlerMenu(char* current_path, u32* cursor, u32* scroll, PaneData** pan
|
|||||||
ShowPrompt(false, "%s\nCTRNAND transfer %s", pathstr,
|
ShowPrompt(false, "%s\nCTRNAND transfer %s", pathstr,
|
||||||
(TransferCtrNandImage(file_path, destdrv[user_select-1]) == 0) ? "success" : "failed");
|
(TransferCtrNandImage(file_path, destdrv[user_select-1]) == 0) ? "success" : "failed");
|
||||||
}
|
}
|
||||||
} else ShowPrompt(false, "%s\nNo valid destination found");
|
} else ShowPrompt(false, "%s\nNo valid destination found", pathstr);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
else if (user_select == restore) { // -> restore SysNAND (A9LH preserving)
|
else if (user_select == restore) { // -> restore SysNAND (A9LH preserving)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user