From 387ff483fbec1ea5e3543f21e3d964682b6bb75c Mon Sep 17 00:00:00 2001 From: d0k3 Date: Fri, 12 Jan 2018 02:51:18 +0100 Subject: [PATCH] Do not ask for essential backup on NTRBOOT --- arm9/source/godmode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arm9/source/godmode.c b/arm9/source/godmode.c index 3ac628b..de1f160 100644 --- a/arm9/source/godmode.c +++ b/arm9/source/godmode.c @@ -1803,7 +1803,8 @@ u32 GodMode(int entrypoint) { InitExtFS(); // 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?")) { if (EmbedEssentialBackup("S:/nand.bin") == 0) { u32 flags = BUILD_PATH | SKIP_ALL;