mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-08 00:40:20 +00:00
Override content.encryptCia when titlekey specified
This commit is contained in:
+1
-1
@@ -160,7 +160,7 @@ int GetSettingsFromUsrset(cia_settings *ciaset, user_settings *usrset)
|
||||
ciaset->verbose = usrset->common.verbose;
|
||||
|
||||
ciaset->tmd.titleType = TYPE_CTR;
|
||||
ciaset->content.encryptCia = usrset->common.rsfSet.Option.EnableCrypt;
|
||||
ciaset->content.encryptCia = usrset->common.rsfSet.Option.EnableCrypt || usrset->cia.titleKey != NULL;
|
||||
ciaset->content.IsDlc = usrset->cia.DlcContent;
|
||||
if(ciaset->keys->aes.commonKey[ciaset->keys->aes.currentCommonKey] == NULL && ciaset->content.encryptCia){
|
||||
fprintf(stderr,"[CIA WARNING] Common Key could not be loaded, CIA will not be encrypted\n");
|
||||
|
||||
Reference in New Issue
Block a user