diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-07-13 17:10:17 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-07-13 17:10:17 +0200 |
commit | d0f5464200be032ee464218cfe415f3ce0b119a7 (patch) | |
tree | dd6f068286bb29c72192689bf741c43fcb505ae1 /src/skel | |
parent | Merge pull request #654 from erorcun/miami (diff) | |
parent | Rename LEVEL_NONE to LEVEL_GENERIC (diff) | |
download | re3-d0f5464200be032ee464218cfe415f3ce0b119a7.tar re3-d0f5464200be032ee464218cfe415f3ce0b119a7.tar.gz re3-d0f5464200be032ee464218cfe415f3ce0b119a7.tar.bz2 re3-d0f5464200be032ee464218cfe415f3ce0b119a7.tar.lz re3-d0f5464200be032ee464218cfe415f3ce0b119a7.tar.xz re3-d0f5464200be032ee464218cfe415f3ce0b119a7.tar.zst re3-d0f5464200be032ee464218cfe415f3ce0b119a7.zip |
Diffstat (limited to 'src/skel')
-rw-r--r-- | src/skel/glfw/glfw.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/skel/glfw/glfw.cpp b/src/skel/glfw/glfw.cpp index d01e05b5..e1860179 100644 --- a/src/skel/glfw/glfw.cpp +++ b/src/skel/glfw/glfw.cpp @@ -1370,6 +1370,15 @@ WinMain(HINSTANCE instance, RwInt32 argc; RwChar** argv; SystemParametersInfo(SPI_SETFOREGROUNDLOCKTIMEOUT, 0, nil, SPIF_SENDCHANGE); + +#if 0 + // TODO: make this an option somewhere + AllocConsole(); + freopen("CONIN$", "r", stdin); + freopen("CONOUT$", "w", stdout); + freopen("CONOUT$", "w", stderr); +#endif + #else int main(int argc, char *argv[]) |