From 005684d86511797d68254d2586cc8ce075bc6629 Mon Sep 17 00:00:00 2001 From: TuxSH Date: Tue, 13 Jun 2017 02:37:27 +0200 Subject: [PATCH] Fix loader bugs new-hbmenu now works with H&S, etc. --- sysmodules/loader/source/loader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sysmodules/loader/source/loader.c b/sysmodules/loader/source/loader.c index abe1699..58a9f8d 100644 --- a/sysmodules/loader/source/loader.c +++ b/sysmodules/loader/source/loader.c @@ -249,7 +249,7 @@ static Result loader_LoadProcess(Handle *process, u64 prog_handle) u64 progid; // make sure the cached info corrosponds to the current prog_handle - if (g_cached_prog_handle != prog_handle) + if (g_cached_prog_handle != prog_handle || g_exheader.arm11systemlocalcaps.programid == HBLDR_3DSX_TID) { res = loader_GetProgramInfo(&g_exheader, prog_handle); g_cached_prog_handle = prog_handle; @@ -475,7 +475,7 @@ static void handle_commands(void) case 4: // GetProgramInfo { prog_handle = *(u64 *)&cmdbuf[1]; - if (prog_handle != g_cached_prog_handle) + if (prog_handle != g_cached_prog_handle || g_exheader.arm11systemlocalcaps.programid == HBLDR_3DSX_TID) { res = loader_GetProgramInfo(&g_exheader, prog_handle); if (res >= 0)