Skip to content

Commit

Permalink
Merge pull request #17190 from unknownbrackets/prx-symbols
Browse files Browse the repository at this point in the history
Debugger: Update symbols properly on prx load
  • Loading branch information
hrydgard committed Mar 26, 2023
2 parents 1298799 + 3d4dd1a commit 9ea6684
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/HLE/sceKernelModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 9ea6684

Please sign in to comment.