From 952ea28b7637c03e7c00ff9f3c2543669daf4900 Mon Sep 17 00:00:00 2001 From: Sacha Date: Wed, 13 Feb 2013 04:54:04 +1000 Subject: [PATCH] Move PPSSPP specific window init in to PPSSPP as native should be generic. --- Qt/mainwindow.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Qt/mainwindow.cpp b/Qt/mainwindow.cpp index d924e76c87..2c69ca407e 100644 --- a/Qt/mainwindow.cpp +++ b/Qt/mainwindow.cpp @@ -167,6 +167,12 @@ void NativeInit(int argc, const char *argv[], const char *savegame_directory, co LogManager::GetInstance()->ChangeFileLog(fileToLog); LogManager::GetInstance()->SetLogLevel(LogTypes::G3D, LogTypes::LERROR); + +#if defined(Q_WS_X11) && !defined(USING_GLES2) + // Start Desktop UI + MainWindow* mainWindow = new MainWindow(); + mainWindow->show(); +#endif } void MainWindow::SetNextState(CoreState state)