From bae9fd612d12f7b6809547923238152ccdc4c2bd Mon Sep 17 00:00:00 2001 From: Amrsatrio Date: Thu, 25 Apr 2024 22:57:00 +0700 Subject: [PATCH] Fix crashes on 22631 caused by forgetting to call CoUninitialize() in PatchStartTileData() --- ExplorerPatcher/dllmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExplorerPatcher/dllmain.c b/ExplorerPatcher/dllmain.c index 8c11eb8..47d501e 100644 --- a/ExplorerPatcher/dllmain.c +++ b/ExplorerPatcher/dllmain.c @@ -11056,7 +11056,7 @@ static void PatchStartTileData(BOOL bSMEH) { PatchStartTileDataFurther(hStartTileData, bSMEH); } - if (!bSMEH && hr == S_OK) + if (hr == S_OK) { CoUninitialize(); }