mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-05 16:59:02 +00:00
ctrtool: allow specify tik titlekey
This commit is contained in:
+3
-1
@@ -217,7 +217,9 @@ void cia_process(cia_context* ctx, u32 actions)
|
||||
|
||||
if (settings_get_common_key(ctx->usersettings))
|
||||
tik_get_decrypted_titlekey(&ctx->tik, ctx->titlekey);
|
||||
|
||||
else if(settings_get_title_key(ctx->usersettings))
|
||||
memcpy(ctx->titlekey, settings_get_title_key(ctx->usersettings), 16);
|
||||
|
||||
tmd_set_file(&ctx->tmd, ctx->file);
|
||||
tmd_set_offset(&ctx->tmd, ctx->offsettmd);
|
||||
tmd_set_size(&ctx->tmd, ctx->sizetmd);
|
||||
|
||||
Reference in New Issue
Block a user