mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 13:56:59 +01:00
loader: refresh imports after dynamic module loads (#511)
#307: loader: refresh imports after dynamic module loads
This commit is contained in:
@@ -1324,7 +1324,7 @@ void RuntimeLinker::RelocateProgram(Program* program) {
|
|||||||
EXIT_IF(program == nullptr);
|
EXIT_IF(program == nullptr);
|
||||||
EXIT_IF(std::find(m_programs.begin(), m_programs.end(), program) == m_programs.end());
|
EXIT_IF(std::find(m_programs.begin(), m_programs.end(), program) == m_programs.end());
|
||||||
|
|
||||||
Relocate(program);
|
RelocateAll();
|
||||||
if (!GamePatch::ApplyPending(program)) {
|
if (!GamePatch::ApplyPending(program)) {
|
||||||
EXIT("Failed to apply pending game cheat\n");
|
EXIT("Failed to apply pending game cheat\n");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user