summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-02-15 14:57:19 +0100
committerwithmorten <morten.with@gmail.com>2021-02-15 14:57:19 +0100
commitfec39e87c0e9c7deb9f78d3320e423accbe14561 (patch)
treedcfd06041688fd94f63799e7aebef5c5abc08018 /src
parentalways console for windows Debug builds (diff)
downloadre3-fec39e87c0e9c7deb9f78d3320e423accbe14561.tar
re3-fec39e87c0e9c7deb9f78d3320e423accbe14561.tar.gz
re3-fec39e87c0e9c7deb9f78d3320e423accbe14561.tar.bz2
re3-fec39e87c0e9c7deb9f78d3320e423accbe14561.tar.lz
re3-fec39e87c0e9c7deb9f78d3320e423accbe14561.tar.xz
re3-fec39e87c0e9c7deb9f78d3320e423accbe14561.tar.zst
re3-fec39e87c0e9c7deb9f78d3320e423accbe14561.zip
Diffstat (limited to '')
-rw-r--r--src/skel/glfw/glfw.cpp2
-rw-r--r--src/skel/win/win.cpp2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/skel/glfw/glfw.cpp b/src/skel/glfw/glfw.cpp
index 3a958f1a..baed9000 100644
--- a/src/skel/glfw/glfw.cpp
+++ b/src/skel/glfw/glfw.cpp
@@ -1476,9 +1476,7 @@ WinMain(HINSTANCE instance,
SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE);
#ifndef MASTER
-#ifndef DEBUG
if (strstr(cmdLine, "-console"))
-#endif
{
AllocConsole();
freopen("CONIN$", "r", stdin);
diff --git a/src/skel/win/win.cpp b/src/skel/win/win.cpp
index 041cc6c1..86b0b214 100644
--- a/src/skel/win/win.cpp
+++ b/src/skel/win/win.cpp
@@ -2021,9 +2021,7 @@ WinMain(HINSTANCE instance,
SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE);
#ifndef MASTER
-#ifndef DEBUG
if (strstr(cmdLine, "-console"))
-#endif
{
AllocConsole();
freopen("CONIN$", "r", stdin);