Move PPSSPP specific window init in to PPSSPP as native should be generic.

This commit is contained in:
Sacha 2013-02-13 04:54:04 +10:00
parent 58454413b3
commit 952ea28b76

View File

@ -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)