mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-26 19:46:19 +00:00
Oops. Maemo fix.
This commit is contained in:
parent
e3a1ecf8a4
commit
469088b162
@ -3,7 +3,7 @@
|
||||
*
|
||||
*/
|
||||
// Qt 4.7+ / 5.0+ implementation of the framework.
|
||||
// Currently supports: Symbian, Blackberry, Meego, Linux, Windows, Mac OSX
|
||||
// Currently supports: Symbian, Blackberry, Maemo/Meego, Linux, Windows, Mac OSX
|
||||
|
||||
#include <QApplication>
|
||||
#include <QUrl>
|
||||
|
@ -45,7 +45,7 @@ public:
|
||||
#if QT_VERSION < 0x50000
|
||||
setAttribute(Qt::WA_LockLandscapeOrientation);
|
||||
#endif
|
||||
#if defined(USING_GLES2) || defined(MAEMO)
|
||||
#if defined(USING_GLES2) && !defined(MAEMO)
|
||||
acc = new QAccelerometer(this);
|
||||
acc->start();
|
||||
#endif
|
||||
@ -54,7 +54,7 @@ public:
|
||||
startTimer(16);
|
||||
}
|
||||
~MainUI() {
|
||||
#if defined(USING_GLES2) || defined(MAEMO)
|
||||
#if defined(USING_GLES2) && !defined(MAEMO)
|
||||
delete acc;
|
||||
#endif
|
||||
NativeShutdownGraphics();
|
||||
|
Loading…
x
Reference in New Issue
Block a user