[Script] add last bits

Fixed: Scripts should free at the end
Added: ncaGetType, saveSign
Modified: pathCombine can now take 2+ args to combine
This commit is contained in:
suchmememanyskill
2021-01-04 16:57:47 +01:00
parent c9fdb650c3
commit 12136d9289
9 changed files with 132 additions and 18 deletions

View File

@@ -118,11 +118,13 @@ void GptMenu(u8 MMCType){
DrawError(err);
}
else {
if (TConf.curExplorerLoc > LOC_SD)
ResetCopyParams();
if (TConf.keysDumped){
if (TConf.curExplorerLoc > LOC_SD)
ResetCopyParams();
TConf.curExplorerLoc = LOC_EMMC;
FileExplorer("bis:/");
TConf.curExplorerLoc = LOC_EMMC;
FileExplorer("bis:/");
}
}
}
else {

View File

@@ -22,6 +22,7 @@ void SetKeySlots(){
// Not for bis but whatever
se_aes_key_set(6, dumpedKeys.header_key + 0x00, 0x10);
se_aes_key_set(7, dumpedKeys.header_key + 0x10, 0x10);
se_aes_key_set(8, dumpedKeys.save_mac_key, 0x10);
}
}