aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/qt_sdl/main.cpp
diff options
context:
space:
mode:
authorArisotura <thetotalworm@gmail.com>2022-09-22 20:33:32 +0200
committerArisotura <thetotalworm@gmail.com>2022-09-22 20:33:32 +0200
commitfc112580710a1a96b38ded2481e54a1ba42a3e0d (patch)
tree1114f8de3a3c0fdb238643227d05e2f2bb49499e /src/frontend/qt_sdl/main.cpp
parentb1e4bd55208709c7329f1fbf393fdefbddf3845d (diff)
remove Windows console shito we don't need anymore
Diffstat (limited to 'src/frontend/qt_sdl/main.cpp')
-rw-r--r--src/frontend/qt_sdl/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/frontend/qt_sdl/main.cpp b/src/frontend/qt_sdl/main.cpp
index 34cd03a..0012ff0 100644
--- a/src/frontend/qt_sdl/main.cpp
+++ b/src/frontend/qt_sdl/main.cpp
@@ -1890,7 +1890,7 @@ void MainWindow::keyPressEvent(QKeyEvent* event)
if (event->isAutoRepeat()) return;
// TODO!! REMOVE ME IN RELEASE BUILDS!!
- if (event->key() == Qt::Key_F11) NDS::debug(0);
+ //if (event->key() == Qt::Key_F11) NDS::debug(0);
Input::KeyPress(event);
}
@@ -3283,12 +3283,12 @@ int CALLBACK WinMain(HINSTANCE hinst, HINSTANCE hprev, LPSTR cmdline, int cmdsho
if (argv_w) LocalFree(argv_w);
//if (AttachConsole(ATTACH_PARENT_PROCESS))
- if (AllocConsole())
+ /*if (AllocConsole())
{
freopen("CONOUT$", "w", stdout);
freopen("CONOUT$", "w", stderr);
printf("\n");
- }
+ }*/
int ret = main(argc, argv);