1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-22 13:20:01 +00:00

always console for windows Debug builds

This commit is contained in:
withmorten 2021-02-15 14:24:07 +01:00
parent a3eae736e7
commit a826091dc9
2 changed files with 4 additions and 0 deletions

View file

@ -1476,7 +1476,9 @@ WinMain(HINSTANCE instance,
SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE);
#ifndef MASTER
#ifndef DEBUG
if (strstr(cmdLine, "-console"))
#endif
{
AllocConsole();
freopen("CONIN$", "r", stdin);

View file

@ -2021,7 +2021,9 @@ WinMain(HINSTANCE instance,
SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE);
#ifndef MASTER
#ifndef DEBUG
if (strstr(cmdLine, "-console"))
#endif
{
AllocConsole();
freopen("CONIN$", "r", stdin);