add: unloading

This commit is contained in:
2024-04-13 11:55:51 +02:00
parent 8f161be085
commit 9e8909a97f
5 changed files with 20 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ BOOL APIENTRY DllMain( HMODULE hModule,
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
myhModule = hModule;
init_il2cpp();
CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE) Run, NULL, 0, NULL);
break;