Do not ask for essential backup on NTRBOOT

This commit is contained in:
d0k3 2018-01-12 02:51:18 +01:00
parent 24c31f482d
commit 387ff483fb

View File

@ -1803,7 +1803,8 @@ u32 GodMode(int entrypoint) {
InitExtFS(); InitExtFS();
// check for embedded essential backup // check for embedded essential backup
if (IS_SIGHAX && !PathExist("S:/essential.exefs") && CheckGenuineNandNcsd() && if (((entrypoint == ENTRY_NANDBOOT) || (entrypoint == ENTRY_B9S)) &&
!PathExist("S:/essential.exefs") && CheckGenuineNandNcsd() &&
ShowPrompt(true, "Essential files backup not found.\nCreate one now?")) { ShowPrompt(true, "Essential files backup not found.\nCreate one now?")) {
if (EmbedEssentialBackup("S:/nand.bin") == 0) { if (EmbedEssentialBackup("S:/nand.bin") == 0) {
u32 flags = BUILD_PATH | SKIP_ALL; u32 flags = BUILD_PATH | SKIP_ALL;