Commit Graph
173 Commits
Author SHA1 Message Date
Henrik Rydgard f84ebf6bff sprintf->snprintf, fix some too short buffers 2014-09-14 00:14:11 +02:00
Henrik Rydgard 0264ff62f0 Update native with GL-lost-management (UI comes back on Android after switching away) 2014-09-06 13:50:50 +02:00
Henrik Rydgard ae03a855f5 d3d: Apply a half-pixel offset to make 2D ui graphics sharper (d3d texturing...) 2014-08-25 21:33:24 +02:00
Henrik Rydgård dae07e9f28 Mac buildfix 2014-08-23 14:24:24 +02:00
Unknown W. Brackets 0702861df7 Qt buildfix. 2014-08-23 02:09:23 -07:00
Henrik Rydgard 308b13fdf0 Set the right ortho matrix for the backend (although doesn't seem to matter too much for 2D) 2014-08-23 10:49:40 +02:00
Henrik Rydgard 0f973a3276 Get it running on Android again 2014-08-23 09:48:08 +02:00
Henrik Rydgard 1556234825 Bit more d3d stuff. Can't get depth right, pretty sure it's the projection matrix calc. 2014-08-23 01:52:46 +02:00
Henrik Rydgard e539c7009f Hook up DX9 backend. Not really working though, it seems. 2014-08-22 20:55:12 +02:00
Henrik Rydgard 92c3775d95 Start hooking up D3D 2014-08-22 20:55:04 +02:00
Henrik Rydgard 808f05da89 (Partially) slip thin3d underneath DrawBuffer. 2014-08-22 20:54:53 +02:00
Bartłomiej Piotrowski 39d03cff1b Linux: Look for assets directory in /usr/share/ppsspp/. 2014-08-05 11:37:17 +02:00
Sacha d1a7f36bbe OSX: Fullscreen workaround not needed with Qt. 2014-07-26 01:36:44 +10:00
Henrik Rydgård 6fab8e2f74 Merge pull request #6519 from juhalaukkanen/master
cheat.db import - minimal feedback to user
2014-07-23 10:32:06 +02:00
Henrik Rydgard 93d1a0b175 Update native with tilt Y/Z axis fix. Fix tilt in portrait mode. 2014-07-20 18:31:28 +02:00
Henrik Rydgard b6569af71c Add an "Auto" mode that makes display res match internal res.
Change wording according to unknown's idea
2014-07-20 00:22:08 +02:00
Henrik Rydgard 76bdd84e43 Add option to use the Android hardware scaler by setting a low resolution 2014-07-20 00:22:08 +02:00
Juha Laukkanen ef106f9b1d Hack fix for OSX SDL window resize. Possibly SDL 1.2 & OSX bug. 2014-07-15 19:26:15 +09:00
Unknown W. Brackets ec0c0f7af0 Move GLLost to NativeInit/NativeShutdown.
Otherwise, we clear the registered holders when the display turns off, and
never remember them.  This causes the vertex cache to stop working, for
example.
2014-06-29 01:09:15 -07:00
Sacha 5215d12385 Qt: Let Qt decide directories in Qt5. Require OSX use Qt5. Fix config directory. Fixes #5409. 2014-06-25 16:10:00 +10:00
Henrik Rydgard cefc0bc96f Play the game's SND0.AT3 when a game is selected in the menu and on the "game screen". 2014-06-22 17:02:04 +02:00
Henrik Rydgard 12cef8fa80 Oops, buildfixes 2014-06-22 14:23:06 +02:00
Henrik Rydgard dc3806b700 Win32: Keep DSound running even when in the menu.
This will make it possible to play the game-selection audio later.
2014-06-22 14:17:57 +02:00
Sacha 46abce78c0 Qt: Use inbuilt png handler instead of building libpng. Resolves a conflict with QWidget and QPainter in desktop menus. 2014-06-18 15:37:12 +10:00
Sacha ea17e17ebd Join both Maemo platforms (Maemo5 + Meego Harmattan/Maemo 6) to MAEMO define. Technically they are very similar and anything that wasn't already defined for both probably needed to be. 2014-06-18 03:42:31 +10:00
Henrik Rydgard e3bbf26731 Improve input event handling. Can now map volume keys on Android without issues. 2014-06-15 13:04:59 +02:00
Henrik Rydgard 7febcd5d91 Have the Native* input functions return boolean to match new interface.
This is preparation for being able to tell the app that we handled the key or not.

This will make it possible to map android hardware keys like volume without them misbehaving.
2014-06-15 12:15:06 +02:00
Sacha 3e50086d19 Travis: update. Fix screenshots in Qt 2014-06-10 02:51:23 +10:00
The Dax 4ab69656fe Win32 buildfix. 2014-05-30 18:21:40 -04:00
Henrik Rydgard 3023f7d06b Android: Switch dpad default to use HAT X/Y +/- instead of "dpad", as documented.
Add a simple "autoconfigure" facility for input devices, that lets the user choose
if several are connected.

Can be expanded in the future to provide custom default mapppings for various devices as long as we manage to identify them.

Ideally, key mappings should be unique per device but they aren't yet.
2014-05-19 23:31:11 +02:00
The Dax d3f82ff179 Fix Linux build, again. 2014-04-26 02:32:43 -04:00
The Dax 731a27dd58 Instead of using escape only, allow anything mapped to "Pause" to exit as well. 2014-04-26 02:02:54 -04:00
The Dax a7a2bb3b28 Fix Linux build. 2014-04-26 01:14:08 -04:00
The Dax 6bedad2aa5 Enable --escape-exit for all relevant platforms. It makes PPSSPP more front-end friendly by letting escape quit the emu. 2014-04-26 01:00:45 -04:00
Henrik Rydgard efa7ba5570 Set both Default-NAN and FZ on ARM. See comments.
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0274h/Babffifj.html
2014-03-23 10:07:20 +01:00
Henrik Rydgard f549ce9b2a Shouldn't check for ANDROID here. 2014-03-23 00:05:58 +01:00
Henrik Rydgard bc121242b3 Use fast_math matrix multiplication for culling and sw transform 2014-03-22 14:40:09 +01:00
Unknown W. Brackets a3ad15b295 Allow screenshot out of game. 2014-03-01 13:55:17 -08:00
Sacha ed4f5054c6 Qt: Clean up QtHost. 2014-03-02 01:09:38 +10:00
Henrik Rydgard e561f576b5 Windows screenshots: Name the files after the game ID. Implements #5504 2014-02-17 23:43:58 +01:00
Henrik Rydgard 002a4f2f72 Prevent messages from getting lost by adding a queue. Fixes #5431 2014-02-13 17:48:33 +01:00
The Dax 72546b83a7 Allow the language ini path to be overridden for translation testing purposes. 2014-02-12 18:31:54 -05:00
Henrik Rydgard 8a2b50af64 Fix bug causing the screen to go blank when resizing the window using scale factors on Windows. 2014-02-10 16:22:16 +01:00
Henrik Rydgard 984554fe7c Make the UI scale and move correctly when the UI bounds are modified. 2014-02-10 16:08:19 +01:00
Henrik Rydgard ca9d0ea5cf Remove more bad uses of dp_xres. Fix a data flow issue
(could end up with "feedback" if modifying the screen bounds)
2014-02-10 15:55:21 +01:00
Henrik Rydgard c6caff61bf Update native with buildfix. Fix some resizing issues. 2014-02-10 15:14:45 +01:00
Henrik Rydgard 4d00a9b4bc Reduce use of display.h (dp_xres, dp_yres) now that uicontext has bounds 2014-02-10 12:44:36 +01:00
Henrik Rydgard ca500b0bf4 Add setting for Kitkat Immersive Mode on Android. 2014-02-09 23:16:08 +01:00
Henrik Rydgård 8bc6e3f861 Add a setting in System to set the screen rotation. Default is locked to landscape. 2014-02-04 12:58:37 +01:00
Henrik Rydgård 536fcbd719 Add support for new "native-method" NativeQueryConfig, which will be
used to implement settings like rotation lock where the implementation
is on the Java side on Android.
2014-02-04 12:09:14 +01:00