mirror of
https://github.com/suchmememanyskill/TegraScript.git
synced 2025-01-25 02:03:02 -03:00
b4c300f315
* Initial TScript v2 commit * Fix || issue * another formatting issue * small spelling fixes * destenationexplorer intensifies * write fwDump.te * add timer to fwdump * add old stuff back Co-authored-by: suchmememanyskill <suchmememanyskill@users.noreply.github.com>
53 lines
806 B
Text
53 lines
806 B
Text
printf("Remove Parental Lock -.-")
|
|
printf("")
|
|
printf("Press A to remove from SYSMMC")
|
|
if (@EMUMMC){
|
|
printf("Press Y to remove from EMUMMC")
|
|
}
|
|
printf("Press power to exit")
|
|
printf("")
|
|
|
|
pause()
|
|
@checkInput = setInt(0);
|
|
|
|
if (@BTN_A){
|
|
printf("Mounting SYSMMC...")
|
|
mmc_connect("SYSMMC")
|
|
@checkInput = setInt(1);
|
|
}
|
|
if (@BTN_Y){
|
|
if (@EMUMMC, == , 0){
|
|
exit()
|
|
}
|
|
printf("Mounting EMUMMC...")
|
|
mmc_connect("EMUMMC")
|
|
@checkInput = setInt(1);
|
|
}
|
|
|
|
if (@checkInput, == , 0){
|
|
exit()
|
|
}
|
|
|
|
mmc_mount("SYSTEM")
|
|
|
|
if (@RESULT){
|
|
printf("System failed to mount!")
|
|
pause()
|
|
exit()
|
|
}
|
|
|
|
|
|
|
|
setColor("RED")
|
|
printf("Deleting Parental Lock")
|
|
|
|
fs_del("emmc:/save/8000000000000100")
|
|
|
|
|
|
setColor("GREEN")
|
|
printf("")
|
|
printf("")
|
|
printf("Done! press any key to exit")
|
|
|
|
pause()
|
|
exit()
|