mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 05:32:47 +00:00
Do not ask for essential backup on NTRBOOT
This commit is contained in:
parent
24c31f482d
commit
387ff483fb
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user