From fe636347745ee9a0edaf503cf22ebdd8e92e6eb2 Mon Sep 17 00:00:00 2001 From: Pk11 Date: Fri, 13 May 2022 18:14:30 -0500 Subject: [PATCH] Warn before installing to SysNAND without a TMD --- arm9/src/install.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arm9/src/install.c b/arm9/src/install.c index 266b0ca..9606e3d 100644 --- a/arm9/src/install.c +++ b/arm9/src/install.c @@ -492,6 +492,13 @@ bool install(char* fpath, bool systemTitle) else goto error; } + else if(!sdnandMode) + { + if (choicePrint("TMD not found, game cannot be\nplayed without Unlaunch's\nlauncher patches.\nSee wiki for how to get a TMD.\n\nInstall anyway?") == YES) + tmdFound = false; + else + goto error; + } //get install size iprintf("Install Size: ");