Add option to patch system title to normal DSiWare

This commit is contained in:
Pk11 2022-01-15 22:16:38 -06:00
parent 6ab0663299
commit bcb0fbb496

View File

@ -397,6 +397,16 @@ bool install(char* fpath, bool systemTitle)
goto error; 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 //no system titles without Unlaunch
if (!unlaunchFound && h->tid_high != 0x00030004) if (!unlaunchFound && h->tid_high != 0x00030004)
{ {