From 2e1eb623184b0b6078256db113aca947fa7ca61f Mon Sep 17 00:00:00 2001 From: Valentin Radu Date: Fri, 3 Sep 2021 04:27:46 +0300 Subject: [PATCH] Fixed bug that prevented console to show when enabled in settings --- ExplorerPatcher/dllmain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ExplorerPatcher/dllmain.c b/ExplorerPatcher/dllmain.c index 48e2a04..8499729 100644 --- a/ExplorerPatcher/dllmain.c +++ b/ExplorerPatcher/dllmain.c @@ -2825,9 +2825,9 @@ __declspec(dllexport) DWORD WINAPI main( wprintf(L"Settings path: \"%s\"\n", wszSettingsPath); #ifndef DEBUG - uintptr_t alloc_console = VnGetUInt( - TEXT("AllocConsole"), + UINT alloc_console = VnGetUInt( TEXT("General"), + TEXT("AllocConsole"), 0, wszSettingsPath );