Commit Graph

283 Commits

Author SHA1 Message Date
TwistedUmbrella
de3975fc55 Revert "Untested attempt at fixing the iOS build (see #6972)"
This reverts commit a84597f266.
2014-12-05 19:46:56 -05:00
Henrik Rydgård
a84597f266 Untested attempt at fixing the iOS build (see #6972) 2014-12-04 07:21:14 +01:00
Unknown W. Brackets
40950a4b0e Workaround missing unique_ptr on Symbian.
Arg.
2014-11-25 12:00:35 -08:00
Unknown W. Brackets
7ccd428827 Allow http:// iso from command line. 2014-11-25 11:58:19 -08:00
Peter Tissen
6f062b9b16 add success flag for qt screenshot too 2014-11-10 16:57:51 +01:00
Henrik Rydgard
5bcdecc26b unittest: Have the JIT harness print disassembly, to make it easy to inspect results. 2014-11-09 12:03:04 +01:00
Unknown W. Brackets
f90754457d Show an error when screenshots fail to save. 2014-11-02 13:29:44 -08:00
Henrik Rydgard
d24abb3af0 More GetPointer cleanup. memCardDirectory->memStickDirectory. 2014-10-19 23:20:51 +02:00
beaumanvienna
ce5edeb589 merged with upstream / amended SDL2 multi monitor support 2014-10-15 22:33:38 +02:00
beaumanvienna
fadedee75f amendments for: global variable 'fullscreenCLI'/move on top timer/Qt fullscreen code 2014-09-24 23:24:23 +02:00
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
Henrik Rydgård
ce378b231f Delete CPU.cpp/h , cleanup 2013-12-30 00:11:29 +01:00
Henrik Rydgård
b0bfda6333 Merge pull request #4515 from bollu/improvedTilControls
Redid the tilt controls in a nicer way
2013-12-22 02:13:28 -08:00
Sacha
af1c326617 Qt: Remove renaming of 'lowmem' zim so that it can be loaded externally as well. Update version. 2013-12-20 01:30:39 +10:00
Henrik Rydgård
0cd1c3ad92 Update native 2013-12-16 16:21:10 +01:00
bollu
b0c7e824be Merge branch 'master' of https://github.com/hrydgard/ppsspp into improvedTilControls 2013-12-14 16:45:29 +05:30
Henrik Rydgard
7271367ac1 "Thin Borders" touch button style, ability to choose.
Also a Gold color scheme. Not sure whether to use or not.
2013-12-10 23:27:46 +01:00
Sacha
2387509896 Proper fix for libpng16 includes.
Improve Blackberry CMake toolchain.
2013-12-10 02:14:56 +10:00
Henrik Rydgård
9e42086e21 Logspam reduction 2013-12-09 13:45:17 +01:00
Unknown W. Brackets
0636a65ad9 Use ReadEntireFile() a few more places.
This fixes one or two minor memory leaks.
2013-12-08 12:02:37 -08:00
Sacha
d5147c4234 Add ability to change nickname and take screenshot to Qt Desktop UI. 2013-12-08 04:57:06 +10:00
Sacha
f8da6550f7 Only include image writing headers on Windows. Since only it does screenshots right now. 2013-12-08 03:06:15 +10:00
Sacha
21ae157f66 Remove stb_image usage (no longer used for anything). 2013-12-08 02:37:06 +10:00
Sacha
6d733213c7 Search for assets in executable path on Linux. Fixes #4738
Also remove redundant checks based on build directory.
2013-12-07 15:06:12 +10:00
Henrik Rydgård
6e60db7c22 Store: Handle zip files with external URLs and deep paths inside. 2013-12-05 12:48:09 +01:00
Henrik Rydgård
eaed2e516b Show simple progress bars at the top of the screen during downloads.
Should do something more practical eventually.
2013-12-05 12:48:09 +01:00
Henrik Rydgård
2fb2602387 Initial draft of the Homebrew Store. Lets you install a few homebrew. 2013-12-05 12:48:08 +01:00
W.MS/王京
6d4095abdf Disable vertex jit on jailed iOS devices 2013-12-02 10:48:52 +01:00
Henrik Rydgård
ba7536d5ce Allow translations of post processing shaders (new section PostShaders).
Minor tweaks.
2013-11-29 11:37:15 +01:00
Henrik Rydgard
c53b32d154 Show a dismissable notification if PPSSPP is behind the latest official release 2013-11-26 14:04:29 +01:00
Sacha
0dadd84ef7 Symbian: Enable multi-threading (works now). 2013-11-24 20:22:35 +10:00
Sacha
132fe47c7d Use XDG Directory Specification for Linux. See: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
Means that everyone will have to manually move their existing config's.
Fixes #4623
2013-11-24 16:58:47 +10:00
Sacha
61cf802836 Qt: Use AssetsAssetReader to load Qt assets. 2013-11-21 20:11:37 +10:00
Unknown W. Brackets
fa7467f03d Try to find the flash0 directory in headless. 2013-11-17 10:15:49 -08:00
Henrik Rydgård
40bd1fa650 Add freeze-frame to developer menu. Only useful for developing, like when using nVidia PerfHud. 2013-11-15 13:11:44 +01:00
Sacha
91ddddc2ef Remove unused Thread.{cpp,h} 2013-11-13 02:50:46 +10:00
bollu
35adc5ed7f enable default tilt controls 2013-11-11 18:07:17 +05:30
bollu
9c219bc18b moved tilt logic to separate unit and enabled tilt to control multiple input types 2013-11-11 17:22:04 +05:30
Unknown W. Brackets
5d523ea06a Add android-ndk-profiler v3.2.
This allows fairly easy profiling on Android without rooting.
2013-11-02 21:54:45 -07:00
Sacha
4e4657e94f Blackberry: remove invocation check from NativeApp (moved to native/).
LogoScreen: Don't take boot_filename as a parameter (no one uses it anyway) but check the global variable, boot_filename in case it was populated during initialisation, eg. Blackberry system message.
2013-11-03 13:18:28 +10:00
Sacha
3403928a75 Blackberry: Support receiving invocations from system. Set as a default application for ISO, CSO, PBP and PRX. Check in NativeInit if the system has requested for us to start a specific file. 2013-11-02 04:31:16 +10:00
Henrik Rydgård
43240515de Fix weird axis mapping issue on Ouya 2013-10-31 11:06:54 +01:00
Henrik Rydgård
997c7dc374 Simplify some UI code, fix enabled-ness of Tilt analog settings 2013-10-29 10:22:09 +01:00
Sacha
fc37c16aa2 No need to enable FZ every frame. 2013-10-25 21:52:50 +10:00
Unknown W. Brackets
c486a09c2c Use a better default font path on Linux/Mac OS X.
This way people don't have to copy to ~/.ppsspp/flash0.
The override in ~/.ppsspp/PSP/flash0 still works.
2013-10-20 23:45:56 -07:00
Henrik Rydgård
70783eaa48 Windows build fixes 2013-10-19 23:09:27 +02:00
Henrik Rydgård
2c5adc96cf Rip out the support for the Atrac3+ plugin. It is gone, to never return. 2013-10-19 23:09:26 +02:00
Sacha
e112cf5aff Also install the langregion file on Blackberry & Symbian. Don't auto enable hardware transform on Symbian. 2013-10-17 23:24:49 +10:00
The Dax
c7bdeb3084 Eliminate GetSysDirectories and instead provide a new function: GetSysDirectory.
On Win32, call InitSysDirectories before the emuthread starts just to be safe.
2013-10-15 03:41:10 -04:00
The Dax
22e7b64df3 Don't write files before creating the directory in the first place. 2013-10-14 17:28:27 -04:00
The Dax
be97799a6e use g_Config.memCardDirectory/PSP/SCREENSHOT for screenshots, to match the real PSP. 2013-10-14 14:51:42 -04:00
The Dax
54de8739f1 Fix critical bug with GetSysDirectories. 2013-10-13 19:30:07 -04:00
Unknown W. Brackets
af2ccbb9da Rename flashDirectory to flash0Directory. 2013-10-12 16:08:39 -07:00
Unknown W. Brackets
79143b56d2 Allow config files to be placed under the memstick.
This way, they can be configured more easily on Android, etc.
2013-10-12 16:02:03 -07:00
Siddharth
bb66c442e5 less obnoxious color 2013-10-08 19:22:21 +05:30
Siddharth
4dba847ea4 Uses StickyChoice's Highlight() to highlight save slots in use 2013-10-08 19:08:50 +05:30
Siddharth
630201017b save states with data on them are now highlighted 2013-10-07 21:46:02 +05:30
The Dax
e6d85cfb39 Rename Config::languageIni to Config::sLanguageIni for consistency. 2013-09-16 19:47:25 -04:00
Henrik Rydgard
273fb7c941 Warning fixes, make the back button exit the emu on the main screen on Android. 2013-09-04 10:51:14 +02:00
Unknown W. Brackets
ae17f40e66 Use Roboto Condensed for the UI where supported.
It's Apache licensed and doesn't look bad.  Defaulting still works.
2013-08-31 01:37:41 -07:00
Henrik Rydgard
9ac2cb92ba android buildfix 2013-08-30 20:19:03 +02:00
The Dax
39db37cfd3 Add a comment. 2013-08-30 13:52:15 -04:00
The Dax
e859b79948 Remove useless if. 2013-08-30 13:38:59 -04:00
The Dax
3426c9cb2c Allow user to specify what system font to use in their respective language's ini file. Fallback on Trebuchet MS if nothing is defined. 2013-08-30 13:33:12 -04:00
Henrik Rydgard
7ea3544082 Crashfixes on non-windows, update native to eat & signs (so we can share strings with windows menus) 2013-08-30 18:16:29 +02:00
Henrik Rydgard
349718a3bc Windows: Use system fonts in UI - no more mojibake.
No support for doing this on Android yet, still uses the atlas.
2013-08-30 14:48:52 +02:00
Henrik Rydgard
6360fcb0ae Add some stats to get some idea of much alpha tested drawing we do.
Turns out it's one hell of a lot and we really should fix this by
checking both vertices and textures to deduce when we can just skip
alpha testing safely, probably quite often.

I care about this because alpha testing drawing is very expensive
on some mobile chips.
2013-08-27 21:01:17 +02:00
Sacha
d64b83be97 Add missing atlasscript. Set multithread to false for Symbian on start. 2013-08-21 19:10:22 +10:00
Henrik Rydgard
60b9f4f003 Fix crash bug exiting game 2013-08-20 19:10:13 +02:00
Henrik Rydgard
8790082a56 More UI tweaks 2013-08-20 18:18:30 +02:00
Henrik Rydgard
fe729c4551 Tweak colors and update native with some more UI polish 2013-08-20 13:04:20 +02:00
Henrik Rydgard
b186294132 UI tweaks. Change to cleaner background image. 2013-08-20 00:49:25 +02:00
Henrik Rydgard
0a0d8d9e32 Android/SDL buildfix, move remains of the old UI into other files. 2013-08-18 20:25:57 +02:00
Henrik Rydgard
47f2efb0e5 Fixes to default key mappings, add default button, fix saving of mapped controls on Android, fixes #3213 2013-08-18 00:41:19 +02:00
Henrik Rydgard
96572a3226 Misc UI stuff, back button should now work as expected. 2013-08-17 23:50:15 +02:00
Henrik Rydgard
47ac6c02fc Disable accelerometer as axis, fix some omissions in KeyMap (doesn't actually autoload all those maps yet) 2013-08-17 13:41:29 +02:00
Unknown W. Brackets
b79e3f4714 Start with a more sane default directory. 2013-08-16 21:59:28 -07:00
Henrik Rydgard
22ebe76f33 Move KeyMapping UI to its own file before rewriting.
Plus some minor tweaks and fixes.
2013-08-16 16:49:53 +02:00
Henrik Rydgard
b0c0911dca More UI tweaks (better title font for popups for example) 2013-08-14 23:29:57 +02:00
The Dax
01e9111ac5 Remove Stream VBO option. 2013-08-09 05:18:24 -04:00
Henrik Rydgard
5b32d2ecaf Merge remote-tracking branch 'origin'
Conflicts:
	UI/NativeApp.cpp
2013-07-27 13:11:30 +02:00
Henrik Rydgard
d75a007ef3 Skip the startup logo when loading a game from the command line. 2013-07-27 13:07:34 +02:00
Henrik Rydgård
67adad6cf0 Move CheckGLExtensions to InitGraphics from EmuScreen, trying to fix #2900 2013-07-27 11:46:21 +02:00
Kingcom
87f13d9b32 Fix auto boot 2013-07-26 14:42:38 +02:00
Henrik Rydgard
325f5dfc21 Replace some of the onscreen touch buttons with a new better impl that doesn't rely on InputState. 2013-07-20 12:08:13 +02:00
Henrik Rydgard
47b65ce200 Add volume controls to newui 2013-07-18 10:26:29 +02:00
Henrik Rydgard
81411a74ed Experimental: Make orientation change possible on Android. 2013-07-16 22:51:25 +02:00
Henrik Rydgard
09a7bd08fa Assorted UI cleanups. Add a bunch of little image files that may be used in the Ouya port later. 2013-07-15 17:41:24 +02:00
Sacha
05f019d434 Change flash to flash0. 2013-07-12 11:15:13 +10:00
Henrik Rydgård
3c653cb3fc Drop the gameinfocache correctly on shutdown, avoiding a log flood and
possible mem leak on android.
2013-07-11 14:29:56 +02:00
Sacha
95bd121ea9 Buildfix 2013-07-10 11:46:27 +10:00
Sacha
a0aa6e3212 Rearrange NativeInit dirs. Linux buildfix. 2013-07-10 09:49:53 +10:00
Henrik Rydgard
613b9ec994 Change a variable name to match the name used in the ini file. Default screenshots to JPG. 2013-07-08 00:10:23 +02:00
dykebeard
dc0a7de62b PNG screenshot writing 2013-07-07 14:56:18 -04:00
Henrik Rydgard
cc58e34cf8 Remove legacy key mapping and associate devices with keys (DInput has been left behind for now, will be fixed up soon). Saving is broken, will be fixed soon. 2013-07-06 20:45:44 +02:00
Henrik Rydgard
cc414296d6 Merge branch 'master' of https://github.com/jtraynham/ppsspp into jtraynham-master
Conflicts:
	lang
	pspautotests
2013-06-26 22:56:53 +02:00
Henrik Rydgard
563cf1acfa Show a button on first run instead of taking the user directly to the plugin download screen. Ensures that the emu is usable even if the download would crash. 2013-06-25 23:30:49 +02:00
Jake Traynham
24961e28ef iOS Audio fixes 2013-06-25 16:18:16 -05:00
Henrik Rydgard
23ee9b8cd5 Add "Take Screenshot" to Windows version. Writes to "screenshots" subdirectory. No smart file naming yet. 2013-06-22 22:28:48 +02:00
Henrik Rydgard
1b941b1a7b UI tweaks 2013-06-19 13:13:23 +02:00
Henrik Rydgard
c1fc92c29b Fit more languages on the language screen, trying to fix #731 temporarily. Also add home button to file selector. 2013-06-18 01:22:10 +02:00