Fixed bug that prevented console to show when enabled in settings

This commit is contained in:
Valentin Radu
2021-09-03 04:27:46 +03:00
parent f84375a513
commit 2e1eb62318
+2 -2
View File
@@ -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
);