mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Buildfix for Symbian.
This commit is contained in:
parent
7af60ebd51
commit
6868cb5d32
@ -56,13 +56,6 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
|
||||
QApplication::setAttribute(Qt::AA_X11InitThreads, true);
|
||||
#endif
|
||||
QApplication a(argc, argv);
|
||||
#ifdef __SYMBIAN32__
|
||||
// Set RunFast hardware mode for VFPv2. Denormalised values are treated as 0. NaN used for all NaN situations.
|
||||
User::SetFloatingPointMode(EFpModeRunFast);
|
||||
// Disable screensaver
|
||||
QSystemScreenSaver *ssObject = new QSystemScreenSaver(this);
|
||||
ssObject->setScreenSaverInhibit();
|
||||
#endif
|
||||
QSize res = QApplication::desktop()->screenGeometry().size();
|
||||
if (res.width() < res.height())
|
||||
res.transpose();
|
||||
@ -91,6 +84,13 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
|
||||
w.resize(pixel_xres, pixel_yres);
|
||||
w.showFullScreen();
|
||||
#endif
|
||||
#ifdef __SYMBIAN32__
|
||||
// Set RunFast hardware mode for VFPv2.
|
||||
User::SetFloatingPointMode(EFpModeRunFast);
|
||||
// Disable screensaver
|
||||
QSystemScreenSaver *ssObject = new QSystemScreenSaver(&w);
|
||||
ssObject->setScreenSaverInhibit();
|
||||
#endif
|
||||
|
||||
MainAudio *audio = new MainAudio();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user