mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-07 22:55:40 +12:00
Bring back Qt debugging artifact cause Qt sucks
This commit is contained in:
parent
1c179d9040
commit
4598187893
1 changed files with 8 additions and 0 deletions
|
@ -1,7 +1,15 @@
|
||||||
#include "emulator.hpp"
|
#include "emulator.hpp"
|
||||||
|
#ifdef PANDA3DS_FRONTEND_QT
|
||||||
|
#include <QApplication>
|
||||||
|
#endif
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
Emulator emu;
|
Emulator emu;
|
||||||
|
#ifdef PANDA3DS_FRONTEND_QT
|
||||||
|
QApplication app(argc, argv);
|
||||||
|
return app.exec();
|
||||||
|
#endif
|
||||||
|
|
||||||
emu.initGraphicsContext();
|
emu.initGraphicsContext();
|
||||||
|
|
||||||
if (argc > 1) {
|
if (argc > 1) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue