mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-25 16:45:42 +00:00
always console for windows Debug builds
This commit is contained in:
parent
5ce5000b14
commit
a76c962aa3
2 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue