mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-29 08:41:20 +00:00
loader: refresh imports after dynamic module loads (#511)
#307: loader: refresh imports after dynamic module loads
This commit is contained in:
1 parent
019929587c
commit
ba579088d7
1 file changed
+1
-1
@@ -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