Skip to content

Commit

Permalink
Bring back Qt debugging artifact cause Qt sucks
Browse files Browse the repository at this point in the history
  • Loading branch information
wheremyfoodat authored Sep 29, 2023
1 parent 1c179d9 commit 4598187
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
#include "emulator.hpp"
#ifdef PANDA3DS_FRONTEND_QT
#include <QApplication>
#endif

int main(int argc, char *argv[]) {
Emulator emu;
#ifdef PANDA3DS_FRONTEND_QT
QApplication app(argc, argv);
return app.exec();
#endif

emu.initGraphicsContext();

if (argc > 1) {
Expand Down

0 comments on commit 4598187

Please sign in to comment.