Move UnityPlayer loading into the game payload DLL
This commit is contained in:
@ -29,5 +29,8 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved) {
|
||||
// ...magic
|
||||
tp6_setup_patcher(&game, instance, baseModule);
|
||||
|
||||
// Load the UnityPlayer module
|
||||
HMODULE unityModule = LoadLibraryA("UnityPlayer.dll");
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user