don't unload III/VC asis if they fail to load

This commit is contained in:
Silent 2017-06-05 14:22:35 +02:00
parent c81ab5f3f9
commit b8bbf7ba26
2 changed files with 2 additions and 2 deletions

View File

@ -816,7 +816,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
if (*(DWORD*)0x5C1E75 == 0xB85548EC) Patch_III_10(desktop);
else if (*(DWORD*)0x5C2135 == 0xB85548EC) Patch_III_11(desktop);
else if (*(DWORD*)0x5C6FD5 == 0xB85548EC) Patch_III_Steam(desktop);
else return FALSE;
else return TRUE;
CTimer::Initialise();

View File

@ -654,7 +654,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
Patch_VC_JP();
return TRUE;
}
else return FALSE;
else return TRUE;
CTimer::Initialise();