mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-12-28 23:03:01 +05:00
don't unload III/VC asis if they fail to load
This commit is contained in:
parent
c81ab5f3f9
commit
b8bbf7ba26
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue