From bcb0fbb496abc38abfd03deeeae6ad21ecfc4b2d Mon Sep 17 00:00:00 2001 From: Pk11 Date: Sat, 15 Jan 2022 22:16:38 -0600 Subject: [PATCH] Add option to patch system title to normal DSiWare --- arm9/src/install.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arm9/src/install.c b/arm9/src/install.c index 021f8eb..acf9c4b 100644 --- a/arm9/src/install.c +++ b/arm9/src/install.c @@ -397,6 +397,16 @@ bool install(char* fpath, bool systemTitle) goto error; } + //offer to patch system titles to normal DSiWare on SysNAND + if(!sdnandMode && h->tid_high != 0x00030004) + { + if(choiceBox("This is a system title, would\nyou like to patch it to be a\nnormal DSiWare?\n\nThis is safer, but invalidates\nRSA checks and may not work.\n\nIf the title is homebrew this isstrongly recommended.") == YES) + { + h->tid_high = 0x00030004; + fixHeader = true; + } + } + //no system titles without Unlaunch if (!unlaunchFound && h->tid_high != 0x00030004) {