From b8bbf7ba26f509b3bc6e3bcc95b050e503c67a84 Mon Sep 17 00:00:00 2001 From: Silent Date: Mon, 5 Jun 2017 14:22:35 +0200 Subject: [PATCH] don't unload III/VC asis if they fail to load --- SilentPatchIII/SilentPatchIII.cpp | 2 +- SilentPatchVC/SilentPatchVC.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/SilentPatchIII/SilentPatchIII.cpp b/SilentPatchIII/SilentPatchIII.cpp index 8f0871a..cdfb878 100644 --- a/SilentPatchIII/SilentPatchIII.cpp +++ b/SilentPatchIII/SilentPatchIII.cpp @@ -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(); diff --git a/SilentPatchVC/SilentPatchVC.cpp b/SilentPatchVC/SilentPatchVC.cpp index 5d70bf4..5a33681 100644 --- a/SilentPatchVC/SilentPatchVC.cpp +++ b/SilentPatchVC/SilentPatchVC.cpp @@ -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();