Skip to content

Commit

Permalink
Fix base NCA titlekey loading failure (closes #48)
Browse files Browse the repository at this point in the history
  • Loading branch information
SciresM committed Aug 17, 2018
1 parent 0269d0b commit a4e8ab6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a4e8ab6

Please sign in to comment.