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

always console for windows Debug builds

This commit is contained in:
withmorten 2021-02-15 14:27:35 +01:00
parent 5ce5000b14
commit a76c962aa3
2 changed files with 4 additions and 0 deletions

View file

@ -1508,7 +1508,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

@ -2019,7 +2019,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);