mirror of
https://github.com/suchmememanyskill/TegraScript.git
synced 2025-01-26 02:33:00 -03:00
54 lines
806 B
Text
54 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()
|