mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-03 00:39:14 +00:00
bug fix
prevented cia from "decrypting" cleartext ncch images
This commit is contained in:
+1
-1
@@ -262,7 +262,7 @@ int GetSettingsFromNcch0(cia_settings *ciaset, u32 ncch0_offset)
|
||||
|
||||
/* Getting ncch key */
|
||||
u8 *ncchkey = NULL;
|
||||
if(!ciaset->content.keyNotFound || IsNcchEncrypted(hdr)){
|
||||
if(!ciaset->content.keyNotFound && IsNcchEncrypted(hdr)){
|
||||
SetNcchKeys(ciaset->keys,hdr);
|
||||
ncchkey = ciaset->keys->aes.ncchKey0;
|
||||
if(ciaset->verbose){
|
||||
|
||||
Reference in New Issue
Block a user