Skip to content

Commit

Permalink
remove Windows console shito we don't need anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Arisotura committed Sep 22, 2022
1 parent b1e4bd5 commit fc11258
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/frontend/qt_sdl/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit fc11258

Please sign in to comment.