mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-27 11:34:14 +01:00
always console for windows Debug builds
This commit is contained in:
parent
5ce5000b14
commit
a76c962aa3
@ -1508,7 +1508,9 @@ WinMain(HINSTANCE instance,
|
|||||||
SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE);
|
SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE);
|
||||||
|
|
||||||
#ifndef MASTER
|
#ifndef MASTER
|
||||||
|
#ifndef DEBUG
|
||||||
if (strstr(cmdLine, "-console"))
|
if (strstr(cmdLine, "-console"))
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
AllocConsole();
|
AllocConsole();
|
||||||
freopen("CONIN$", "r", stdin);
|
freopen("CONIN$", "r", stdin);
|
||||||
|
@ -2019,7 +2019,9 @@ WinMain(HINSTANCE instance,
|
|||||||
SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE);
|
SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE);
|
||||||
|
|
||||||
#ifndef MASTER
|
#ifndef MASTER
|
||||||
|
#ifndef DEBUG
|
||||||
if (strstr(cmdLine, "-console"))
|
if (strstr(cmdLine, "-console"))
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
AllocConsole();
|
AllocConsole();
|
||||||
freopen("CONIN$", "r", stdin);
|
freopen("CONIN$", "r", stdin);
|
||||||
|
Loading…
Reference in New Issue
Block a user