From fae366c1270d3d143c95d3a804b5fbbe32247f95 Mon Sep 17 00:00:00 2001 From: Reisyukaku Date: Wed, 24 May 2017 00:35:38 -0400 Subject: [PATCH] fixed subtle titlekey issue --- ctrtool/tik.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctrtool/tik.c b/ctrtool/tik.c index c9a1e5b..0c1b69c 100644 --- a/ctrtool/tik.c +++ b/ctrtool/tik.c @@ -34,7 +34,7 @@ void tik_set_usersettings(tik_context* ctx, settings* usersettings) void tik_get_titlekey(tik_context* ctx, u8 key[0x10]) { - memcpy(ctx->titlekey, key, 16); + memcpy(key, ctx->titlekey, 0x10); } void tik_get_titleid(tik_context* ctx, u8 titleid[8])