loader: refresh imports after dynamic module loads (#511)

#307: loader: refresh imports after dynamic module loads
This commit is contained in:
Daniil Shushakov
2026-09-23 20:04:10 +03:00
committed by GitHub
parent 019929587c
commit ba579088d7
+1 -1
View File
@@ -1324,7 +1324,7 @@ void RuntimeLinker::RelocateProgram(Program* program) {
EXIT_IF(program == nullptr);
EXIT_IF(std::find(m_programs.begin(), m_programs.end(), program) == m_programs.end());
Relocate(program);
RelocateAll();
if (!GamePatch::ApplyPending(program)) {
EXIT("Failed to apply pending game cheat\n");
}