mirror of
https://github.com/suchmememanyskill/TegraExplorer.git
synced 2024-11-09 13:41:45 +00:00
list_empty does not empty the list, oops
This commit is contained in:
parent
82c5555112
commit
9753893045
2 changed files with 2 additions and 4 deletions
|
@ -36,7 +36,7 @@ int GetKeysFromFile(char *path){
|
||||||
if (!sd_mount())
|
if (!sd_mount())
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
LIST_INIT(iniList);
|
LIST_INIT(iniList); // Whatever we'll just let this die in memory hell
|
||||||
if (!ini_parse(&iniList, path, false))
|
if (!ini_parse(&iniList, path, false))
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
@ -48,7 +48,6 @@ int GetKeysFromFile(char *path){
|
||||||
AddKey(dumpedKeys.header_key, getKey("header_key", &iniList), AES_128_KEY_SIZE * 2);
|
AddKey(dumpedKeys.header_key, getKey("header_key", &iniList), AES_128_KEY_SIZE * 2);
|
||||||
AddKey(dumpedKeys.save_mac_key, getKey("save_mac_key", &iniList), AES_128_KEY_SIZE);
|
AddKey(dumpedKeys.save_mac_key, getKey("save_mac_key", &iniList), AES_128_KEY_SIZE);
|
||||||
|
|
||||||
list_empty(&iniList);
|
|
||||||
gfx_puts(" Done");
|
gfx_puts(" Done");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
|
@ -36,7 +36,6 @@ void disconnectMMC(){
|
||||||
TConf.currentMMCConnected = MMC_CONN_None;
|
TConf.currentMMCConnected = MMC_CONN_None;
|
||||||
emummc_storage_end(&emmc_storage);
|
emummc_storage_end(&emmc_storage);
|
||||||
nx_emmc_gpt_free(&curGpt);
|
nx_emmc_gpt_free(&curGpt);
|
||||||
list_empty(&curGpt);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue