Re-enable console for debugging frontend

This commit is contained in:
eray orçunus committed 2020-07-03 05:40:22 +03:00
1 parent 01b15fe807
commit ed036df3ce
3 files changed
+10 -5

No files matched your search

+1 -2
View File
@@ -1929,13 +1929,12 @@ WinMain(HINSTANCE instance,
StaticPatcher::Apply();
SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE);
/*
// TODO: make this an option somewhere
AllocConsole();
freopen("CONIN$", "r", stdin);
freopen("CONOUT$", "w", stdout);
freopen("CONOUT$", "w", stderr);
*/
/*
* Initialize the platform independent data.