mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-11-25 14:52:30 +01:00
don't unload III/VC asis if they fail to load
This commit is contained in:
parent
c81ab5f3f9
commit
b8bbf7ba26
@ -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 New Issue
Block a user