mirror of
https://github.com/SciresM/hactool
synced 2024-11-10 06:34:14 +00:00
Fix base NCA titlekey loading failure (closes #48)
This commit is contained in:
parent
0269d0b91b
commit
a4e8ab6322
1 changed files with 1 additions and 0 deletions
1
main.c
1
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;
|
||||
|
|
Loading…
Reference in a new issue