Debugger: Update symbols properly on prx load.

This commit is contained in:
Unknown W. Brackets 2023-03-25 18:02:56 -07:00
parent 1298799ba8
commit 3d4dd1ac39

View File

@ -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);