Fixing missing parts of the merged code #1

This commit is contained in:
Chenx221 2024-09-05 20:05:19 +08:00
parent eb697554a3
commit 0c4812c4ca
Signed by: chenx221
GPG Key ID: D7A9EC07024C3021

View File

@ -1038,7 +1038,7 @@ namespace Engine
return true;
}
if (Util::CheckFile(L"*.py") && InsertRenpyHook()) return true;
if (Util::CheckFile(L"*.py") && InsertRenpyHook() || InsertRenpy3Hook()) return true;
for (const wchar_t* monoName : { L"mono.dll", L"mono-2.0-bdwgc.dll" }) if (HMODULE module = GetModuleHandleW(monoName)) if (InsertMonoHooks(module)) return true;