From a4e8ab6322123bab8f3a3bd8809fa8bd993fc770 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Thu, 16 Aug 2018 23:04:27 -0700 Subject: [PATCH] Fix base NCA titlekey loading failure (closes #48) --- main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main.c b/main.c index 86394e8..cac12ed 100644 --- a/main.c +++ b/main.c @@ -463,6 +463,7 @@ int main(int argc, char **argv) { case FILETYPE_NCA: { if (nca_ctx.tool_ctx->base_nca_ctx != NULL) { memcpy(&base_ctx.settings.keyset, &tool_ctx.settings.keyset, sizeof(nca_keyset_t)); + base_ctx.settings.known_titlekeys = tool_ctx.settings.known_titlekeys; nca_ctx.tool_ctx->base_nca_ctx->tool_ctx = &base_ctx; nca_process(nca_ctx.tool_ctx->base_nca_ctx); int found_romfs = 0;