From 3d4dd1ac39fa4ef653198cfe17818c31b25377db Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 25 Mar 2023 18:02:56 -0700 Subject: [PATCH] Debugger: Update symbols properly on prx load. --- Core/HLE/sceKernelModule.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/HLE/sceKernelModule.cpp b/Core/HLE/sceKernelModule.cpp index 4d2d5a61ba..1801967426 100644 --- a/Core/HLE/sceKernelModule.cpp +++ b/Core/HLE/sceKernelModule.cpp @@ -1627,6 +1627,8 @@ static PSPModule *__KernelLoadELFFromPtr(const u8 *ptr, size_t elfSize, u32 load } } + System_Notify(SystemNotification::SYMBOL_MAP_UPDATED); + u32 moduleSize = sizeof(module->nm); char tag[32]; snprintf(tag, sizeof(tag), "SceModule-%d", module->nm.modid); @@ -1831,8 +1833,6 @@ bool __KernelLoadExec(const char *filename, u32 paramPtr, std::string *error_str return false; } - System_Notify(SystemNotification::SYMBOL_MAP_UPDATED); - char moduleName[29] = { 0 }; int moduleVersion = module->nm.version[0] | (module->nm.version[1] << 8); truncate_cpy(moduleName, module->nm.name);