Browse Source

Fixed bug that prevented console to show when enabled in settings

pull/20/head
Valentin Radu 4 years ago
parent
commit
2e1eb62318
  1. 4
      ExplorerPatcher/dllmain.c

4
ExplorerPatcher/dllmain.c

@ -2825,9 +2825,9 @@ __declspec(dllexport) DWORD WINAPI main(
wprintf(L"Settings path: \"%s\"\n", wszSettingsPath); wprintf(L"Settings path: \"%s\"\n", wszSettingsPath);
#ifndef DEBUG #ifndef DEBUG
uintptr_t alloc_console = VnGetUInt( UINT alloc_console = VnGetUInt(
TEXT("AllocConsole"),
TEXT("General"), TEXT("General"),
TEXT("AllocConsole"),
0, 0,
wszSettingsPath wszSettingsPath
); );

Loading…
Cancel
Save