377 Commits

Author SHA1 Message Date
Sacha
58020174b1 Remove Meego define. Use Maemo instead. 2014-06-18 03:41:20 +10:00
Sacha
1509ddd2ba Qt: Fix bug that draws two UIs on USING_GLES2 and not MOBILE_DEVICE 2014-06-17 23:45:04 +10:00
Henrik Rydgard
6739fc5654 Have the input functions return bool, so we can say if we used the key.
Will allow mapping Android volume keys as game inputs without also showing the volume setting.
2014-06-15 12:12:12 +02:00
Sacha
f7ffcd4197 Remove a lot of #ifdef's that simply were not needed. For example: Symbian has zip in-built, no need to even compile it let alone use #ifdef's. 2014-06-10 23:05:14 +10:00
Sacha
271ecd0cae Travis buildfix 2014-06-10 04:15:58 +10:00
Sacha
d052c403f9 Symbian: Remove outdated ifdefs 2014-06-09 21:45:57 +10:00
Sacha
efd2cb0f61 Fix SDL Joystick. 2014-06-08 00:55:51 +10:00
Sacha
45244dce80 Qt: Add support for back key 2014-06-03 10:17:43 +10:00
Sacha
4f0ffa2d51 Make Qt a bit more friendly for Android. Report as Qt:Android. Use standard locations. 2014-06-03 10:02:24 +10:00
Sacha
dfe8664419 Buildfix Qt5 mobile platforms such as Android. 2014-06-03 09:03:09 +10:00
Sacha
79880f8567 Fix all warnings/errors on Blackberry.
Revert GLES3 headers as they didn't include nvidia extensions.
2014-06-02 12:01:16 +10:00
Sacha
ad57c49429 SDL: Enable up to 2 joysticks for everyone. 2014-05-31 01:29:00 +10:00
Sacha
935165ca69 SDL: Make the code more platform-agnostic and cleaner. 2014-05-31 01:21:43 +10:00
Sacha
522e1c1c84 Fix GLES2 SDL builds. 2014-05-29 12:12:50 +10:00
Unknown W. Brackets
60fbaad601 Avoid using override in GCC < 4.7.
Travis has some non-Symbian builds using 4.6.3 and they are failing.
2014-05-21 07:44:32 -07:00
Henrik Rydgård
4a55196893 "Support" override on Symbian (kill it with a #define) 2014-05-20 10:22:21 +02:00
Sacha
94cdd4d609 Qt: Use Qt's exit routine which returns exec() and allows clean exit. 2014-05-15 17:47:33 +10:00
Sacha
edaea34df1 Blackberry: Use new accelerometer events. 2014-05-15 15:58:59 +10:00
Sacha
9be913768d Symbian: Use new accelerometer events. 2014-05-15 15:58:52 +10:00
Henrik Rydgård
3866998e10 Apply patch from gschwind that lets us accept more audio formats
(although I'm not sure which ones would apply...)
2014-05-04 12:33:28 +02:00
Henrik Rydgård
eacdc58b48 Merge pull request #209 from thedax/sdlFullscreenFix
SDL: Fix fullscreen resizing.
2014-05-04 11:26:23 +02:00
The Dax
83f80c427b SDL: Let the window be resizable on platforms it makes sense on. 2014-05-02 18:15:37 -04:00
The Dax
8ada7de18a Fix fullscreen resizing. It wasn't working properly. 2014-05-02 17:46:24 -04:00
Henrik Rydgård
daf2595eb0 Introduce arch.h, which provides the MSVC compatible arch defines on other platforms. 2014-04-17 00:05:34 +02:00
Henrik Rydgård
3c13a90099 SDL: Add flag for portrait mode 2014-04-13 17:09:49 +02:00
Henrik Rydgård
b914c1a1fd Easy way to mimic an ipad by windows size 2014-04-08 15:27:14 +02:00
Henrik Rydgård
060e479b93 Safer use of defines in logging.h 2014-04-06 13:51:19 +02:00
chinhodado
ade958043c minor condition change
there's no guarantee that the function will return 1 on success, at least not in the documentation
2014-02-17 20:46:51 -05:00
Unknown W. Brackets
c803a15111 Update the screen scale on window resize in Qt.
Not sure if the right place, but already has PPSSPP specific code anyway.
2014-02-16 22:12:59 -08:00
Unknown W. Brackets
36a9bafcaf Avoid a char * for constant strings. 2014-02-15 01:46:47 -08:00
Unknown W. Brackets
c69e7c3bea Fix crash on shutdown in Qt.
Scoped pointers need to destruct first, or else we'll try to access emulator internals
within their destructors.
2014-02-15 01:42:48 -08:00
Henrik Rydgård
25586949cc Tab fix 2014-02-12 12:46:43 +01:00
Henrik Rydgård
6f6c81ce19 Need to check the quit flag here too 2014-02-12 12:45:49 +01:00
Henrik Rydgard
5557c6801b Also add basic support for "clean exit" to Symbian (although hacky) 2014-02-12 11:54:53 +01:00
Henrik Rydgard
ae94967bec Add proper shutdown to Blackberry (untested)
@xsacha
2014-02-12 11:51:59 +01:00
Henrik Rydgard
52a7af1ed3 Fix some build errors due to a removed variable 2014-02-10 15:12:55 +01:00
Henrik Rydgard
93d39b34ff Add the few extra lines required to init gl on Raspberry Pi.
Still needs work in the build system to set this define.
2014-02-09 23:31:31 +01:00
Henrik Rydgård
48b4745e73 Some cleanup, make really sure we don't use AudioTrack on Gingerbread+. 2014-02-07 14:18:45 +01:00
Henrik Rydgård
4a743ca627 SDL: Add way to exit cleanly through a message. Warning fix. 2014-02-07 11:33:31 +01:00
Henrik Rydgard
790c70f3fb Center SDL window when possible 2014-02-05 19:44:43 +01:00
Henrik Rydgard
841f04d369 For some reason, need to disable the SDL joystick code to build PCMain on windows 2014-02-05 14:46:21 +01:00
Henrik Rydgård
c960fdb0b2 Add a new "queryConfig" native android function, so that the Java code can check
config options like rotation lock (config is implemented on the C++ side).
2014-02-04 12:07:17 +01:00
Henrik Rydgård
4818a85042 Add drag capturing (useful to resolve conflicts between scrollviews and draggable controls within)
Some misc cleanup
2014-01-31 14:32:06 +01:00
Thiago Kenji Okada
14e32915b2 I forget how C works after using Python... 2014-01-30 14:33:48 -02:00
Thiago Kenji Okada
a313321893 Add fallback in case of xdg-utils is not installed
Some distributions may not install xdg-utils by default,
so inform the user in case of xdg-utils is not installed
when the user tries to use any of the xdg-utils commands.
2014-01-30 14:23:04 -02:00
Henrik Rydgård
25bbd8fbd1 Link backtrace.cpp on Android too for consistency. Use it in FLOG. 2014-01-23 14:31:56 +01:00
Henrik Rydgård
ca90b79bf8 Fix Android input box function. Add dpi to command line options in PCMain. 2014-01-21 15:57:15 +01:00
Sacha
469088b162 Oops. Maemo fix. 2014-01-06 10:41:53 +10:00
Sacha
e3a1ecf8a4 Qt: Last fix for Maemo. Confirmed compiling. Thanks @AapoRantalainen 2014-01-05 23:36:08 +10:00
Sacha
a2dfb0f5ea Fix Qt for Maemo 2014-01-05 10:53:47 +10:00