[Kernel] Runtime Module Patching

Fixes source games TUs
This commit is contained in:
Adrian
2023-09-22 19:23:32 +01:00
committed by Radosław Gliński
parent 616dbfe34e
commit 2c087406d6
2 changed files with 14 additions and 1 deletions

View File

@@ -118,6 +118,7 @@ dword_result_t xeXexLoadImage(
// Not found; attempt to load as a user module.
auto user_module = load_callback();
if (user_module) {
kernel_state()->ApplyTitleUpdate(user_module);
kernel_state()->FinishLoadingUserModule(user_module);
// Give up object ownership, this reference will be released by the last
// XexUnloadImage call