mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-06 00:39:11 +00:00
ctrtool: Add support for inline decryption
This commit is contained in:
+2
-2
@@ -214,8 +214,8 @@ void cia_process(cia_context* ctx, u32 actions)
|
||||
|
||||
|
||||
|
||||
if (settings_get_common_key(ctx->usersettings))
|
||||
tik_get_decrypted_titlekey(&ctx->tik, ctx->titlekey);
|
||||
if (settings_get_common_keyX(ctx->usersettings))
|
||||
tik_get_titlekey(&ctx->tik, ctx->titlekey);
|
||||
else if(settings_get_title_key(ctx->usersettings))
|
||||
memcpy(ctx->titlekey, settings_get_title_key(ctx->usersettings), 16);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user