Commit Graph

1672 Commits

Author SHA1 Message Date
Henrik Rydgard
b09fe89be4 Improvements in Jit compare UI 2014-11-16 16:45:24 +01:00
chinhodado
2130d86cef Cleanup 2014-11-13 15:38:25 -05: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
level99procrastinator
a98980d28b Workaround for graphics glitch in Phantasy Star Portable 2 2014-11-08 20:31:17 +08:00
Andrey Bondrov
5201f03720 Add a hotkey to swap D-pad and left analog stick keys 2014-11-07 22:40:53 +10:00
Peter Tissen
da43a19e15 Disable software rendering UI when Direct3D is used 2014-11-06 00:40:14 +01:00
Henrik Rydgard
1520332aee No need for globals here. 2014-11-03 01:53:15 +01:00
Henrik Rydgård
4814901a45 Merge pull request #7022 from sum2012/save-setting-
Win32:Add choice of save location
2014-11-03 00:37:13 +01:00
Unknown W. Brackets
f90754457d Show an error when screenshots fail to save. 2014-11-02 13:29:44 -08:00
Unknown W. Brackets
d4e8bd96af Handle disk full more properly in sceIoWrite(). 2014-11-02 10:55:27 -08:00
Henrik Rydgard
291e5e53c0 Add feature to cache ISOs in RAM to avoid I/O stutters. 64-bit only. Loading gets slow though.
TODO: Make it cache in the background on load. Allow on 32-bit for small ISOs.
2014-10-31 00:14:00 +01:00
sum2012
e4dd388c1f Choose PPSSPP save folder better 2014-10-28 03:10:21 +08:00
sum2012
de6e7ea207 Make a search folder instead of text box 2014-10-28 02:57:40 +08:00
sum2012
a94ca2703c These variable is WIN 32 only 2014-10-27 19:58:13 +08:00
sum2012
9dbfbc8d52 "PPSSPP save path" should be better 2014-10-27 19:19:33 +08:00
sum2012
14ef415225 Forget else 2014-10-27 19:14:39 +08:00
sum2012
37cd643f83 Remove a blank line 2014-10-27 18:50:53 +08:00
sum2012
7852e5e941 Add prompt a text box 2014-10-27 18:48:48 +08:00
sum2012
8088071e00 delete one more 2014-10-26 14:59:25 +08:00
sum2012
b9e50e8563 delete useless 2014-10-26 14:56:47 +08:00
sum2012
b23d4d6e60 Delete one more "File::Delete" 2014-10-26 14:53:31 +08:00
sum2012
034efbdd64 Fix "Save in My Documents " bug 2014-10-26 14:50:21 +08:00
sum2012
bb94b7515f Use File::CreateEmptyFile 2014-10-26 09:03:57 +08:00
sum2012
39ac44c868 oop 2014-10-26 08:39:44 +08:00
sum2012
95a4173658 Simplify 2014-10-26 08:35:11 +08:00
sum2012
67e2b57e0f Add a result != S_OK check 2014-10-24 22:21:49 +08:00
sum2012
044bd4b43d No need these include 2014-10-24 06:24:11 +08:00
sum2012
59bfe2bc03 No need this installedtxtPath 2014-10-24 06:08:54 +08:00
sum2012
3b38e8c107 oop 2014-10-23 22:45:50 +08:00
sum2012
5570070b37 Forget update g_Config.memStickDirectory 2014-10-23 22:44:41 +08:00
sum2012
407e520fd4 oop 2014-10-23 22:27:41 +08:00
sum2012
9b5a4294c1 Win32:Add choice of save location
part of #7017
2014-10-23 22:22:11 +08:00
Henrik Rydgard
e6334dd9d8 Display .7z files in file listings. Can't decompress them though. 2014-10-21 00:09:24 +02: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
dda3ca3d5f D3D9 init error reporting improved. Use "override" properly in Host. 2014-09-20 21:55:58 +02:00
The Dax
24c75c96be Add a menubar option to change the backend.
It restarts without warning.
Also, disable software rendering when switching, similar to the command-line.
Fix some spacing and tab issues in the resource files.
2014-09-14 07:34:18 -04:00
The Dax
436f39d3f6 Win32: Add an UI option to change the GPU backend.
It requires an application restart to work.
2014-09-14 06:59:27 -04:00
Henrik Rydgard
f84ebf6bff sprintf->snprintf, fix some too short buffers 2014-09-14 00:14:11 +02:00
Henrik Rydgard
02a89306d1 Warning fixes, sprintf->snprintf 2014-09-13 23:51:07 +02:00
Henrik Rydgard
9734fd1c1a Turn off scissor when rendering controls overlay 2014-09-13 21:52:10 +02:00
Henrik Rydgard
db486f41e8 Only show the graphics API on the title screen in Windows 2014-09-13 20:56:25 +02:00
Henrik Rydgard
422ae62b63 D3D9: Add support for D3D9Ex, which has faster flipping and an option for lower latency, and some other stuff.
MANAGED textures are not allowed though so compensate for that by making them dynamic for now.
2014-09-09 22:28:35 +02:00
Unknown W. Brackets
796bfb1160 Fix a crash when icon data fails to decode. 2014-09-08 07:50:01 -07: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
215abfb951 Some cleanup in /Common 2014-09-06 10:47:25 +02:00
Henrik Rydgard
ab0b999010 Add really basic test screen for mapped analog sticks. Only works with the first mapped axis if several. 2014-09-05 23:21:07 +02:00
Unknown W. Brackets
de0a914d3b Fix a type conversion warning. 2014-08-30 22:06:38 -07: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
ba8fe92d71 Revert accidental change 2014-08-24 01:18:13 +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 Rydgård
5d836bfa5a Merge pull request #6765 from hrydgard/thin3d
Switch UI drawing from GL to Thin3D. This activates the D3D9 path as well.
2014-08-23 10:52:21 +02: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
e2ecbb7a4d Convert more UI code to Thin3D 2014-08-22 20:55:18 +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
Unknown W. Brackets
fb6b3f94bb Add a frontend option for GEB saves.
May also affect performance, so can be disabled for that.
2014-08-22 00:35:02 -07:00
Henrik Rydgård
5f8f3633a8 Merge pull request #6685 from unknownbrackets/kill-volume
Remove bgm and sfx volume settings
2014-08-19 07:56:01 +02:00
Henrik Rydgård
d234ab03c6 Merge pull request #6696 from LunaMoo/master
Add Buffer Scalling Filter option
2014-08-19 07:55:45 +02:00
vnctdj
8305d24fce Make "Analog Limiter" translatable 2014-08-18 14:50:34 +02:00
Unknown W. Brackets
5c470a1923 Remove bgm and sfx volume settings.
They don't actually work in all games, and this only confuses users.

Also, the default 7 lowers the volume of audio detected as bgm or sfx, but
not other volume.  This means that some audio may have played too loud in
some games by default, which will be fixed by this change.
2014-08-17 14:16:59 -07:00
The Dax
784f311d76 Make it available for everybody. 2014-08-17 14:36:35 -04:00
The Dax
cb07da198b Make the keyboard analog limiter customisable. 2014-08-17 14:36:35 -04:00
sum2012
a09555daaa Remove chinese forum 2014-08-17 21:15:51 +08:00
Luna
62a1023615 Add "Screen Scaling Filter" option 2014-08-08 20:51:15 +02:00
Bartłomiej Piotrowski
39d03cff1b Linux: Look for assets directory in /usr/share/ppsspp/. 2014-08-05 11:37:17 +02:00
Unknown W. Brackets
8d6a5fd694 Use correct stencil values with non-add blending.
Otherwise, we get the min/max/etc. value instead.
2014-08-04 19:16:10 -07:00
Unknown W. Brackets
0279aa154c Use glStencilMask() to partially simulate amask.
Alpha won't be correct, though.
2014-08-03 21:48:18 -07:00
Unknown W. Brackets
60ad1df8bf Fix a warning in a log message.
Unfortunately, this will not properly log > 2 billion cheats.  I think
we'll manage to survive.
2014-08-02 14:55:15 -07:00
The Dax
85bb1188c0 Win32: Query WMI for the GPU driver version, and display it in the System Information screen. 2014-07-31 01:24:41 -04:00
Sacha
d1a7f36bbe OSX: Fullscreen workaround not needed with Qt. 2014-07-26 01:36:44 +10:00
Sacha
1fc526d40f Combine the low and highmem atlas in to one. Add this to the buildatlas script (it's just a diff).
Used USING_QT_UI but technically win32_ui should use this too?
2014-07-25 03:50:58 +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
Juha Laukkanen
2a82e3c54e Enabled cheat file text editor launch under OSX (open) and Linux (xdg-open). 2014-07-23 12:37:58 +09:00
Henrik Rydgard
2e38bdd51f Regenerate atlas with support for Thai and fix for korean language name 2014-07-22 15:11:04 +02:00
Henrik Rydgard
2835110256 Make Settings look much better in Portrait mode 2014-07-22 10:37:20 +02:00
Henrik Rydgard
bdc1be148f Don't disable autoframeskip when frameskip=off, instead set frameskip to 1 when enabling autoframeskip 2014-07-22 09:55:54 +02:00
Henrik Rydgard
e9e680d84c Regenerate font atlas 2014-07-21 21:53:30 +02:00
Henrik Rydgard
a3563c920d Only show button to delete savedata if there is savedata to delete 2014-07-21 20:59:03 +02:00
Henrik Rydgard
8b38df9205 Non-windows buildfix 2014-07-21 20:56:45 +02:00
Henrik Rydgard
8ebbf4742f ChoiceWithValueDisplay: Allow translation of the value 2014-07-21 18:42:52 +02:00
Henrik Rydgard
590724ea5c Add read-clipboard support (for TextEdit) 2014-07-21 11:59:47 +02:00
The Dax
8a78f5e814 Pause rendering when minimized, when appropriate (hopefully? This is sort of hard to test.). 2014-07-21 10:30:51 +02:00
Henrik Rydgard
f9cedbbc03 Fix probable bug in deadzone calculation etc for onscreen dpad. May help #6585
The bug would manifest itself on large or small "scale" values.
2014-07-21 01:22:55 +02:00
Henrik Rydgard
0761d1eb77 Show native display resolution under system information on Android 2014-07-21 01:19:42 +02:00
Henrik Rydgard
0986f27f33 Detect screen size and choose resolution defaults accordingly.
Also prevent recreate on older Android versions where it doesn't seem reliable.
2014-07-21 00:35:36 +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
Unknown W. Brackets
940e7c9fb8 Fix a small typo. 2014-07-20 08:34:39 -07:00
Henrik Rydgard
49fb0bd65b Set WS_POPUP for fullscreen windows, rumoured to help certain gl drivers do the right thing.
Remove an outdated comment.
2014-07-20 17:28:25 +02:00
Henrik Rydgard
0c3bc1dfee system info: show ABI as detected by our compiler defines 2014-07-20 16:33:24 +02:00
Henrik Rydgard
5b597db4b5 De-duplicate updates to axis mapped keys.
Improves mapping an analog stick to the same thing as a dpad, as this reduces
spurious button resets caused by analog stick noise.
2014-07-20 12:52:11 +02:00
Henrik Rydgard
ecacc8784b Make the axis->button mapping code make more sense 2014-07-20 12:42:30 +02:00
Henrik Rydgard
39cde7fc48 Hide "immersive mode" on pre-kitkat Android. 2014-07-20 12:11:50 +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
The Dax
d65227e3dd Change the MAC address randomiser, proAdhoc server editor, and post processing shader choices to ChoiceWithValueDisplay, so we can see their values. 2014-07-18 19:05:44 -04:00
The Dax
bf648504bf Fix Win32 builds and remove the new MAC address editing prompt. 2014-07-18 17:15:48 -04:00
The Dax
c1fc04ee64 Remove the "Change MAC Address" screen, and simply generate a new (random) one upon pressing the button. 2014-07-18 16:58:26 -04:00
Henrik Rydgard
135795a664 Update submodule. Use new text input for mac addresses etc. 2014-07-18 12:07:52 +02:00
Henrik Rydgard
27b4403cae UI: Use the new "PopupTextInputChoice" for nicknames where available (windows) 2014-07-18 11:05:32 +02:00
Juha Laukkanen
8d34c6bf66 Auto save state load: set current slot to loaded one. 2014-07-17 22:18:45 +08:00
Sacha
cd20288d99 Fix some compiler warnings. 2014-07-17 00:49:58 +10:00
Juha Laukkanen
7a4de677db Auto save state load: set current slot to loaded one. 2014-07-15 21:14:35 +09: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
9903407353 Show option to disable framebuf effects in UI. 2014-07-08 23:57:43 -07:00
Unknown W. Brackets
40ac84e442 Cut down on cached booleans for non-softgpu things. 2014-07-08 23:56:50 -07:00
Juha Laukkanen
1a96f48370 Put status of cheat.db import to log. Currently there is no any feedback to user. 2014-07-08 13:56:20 +09:00
Unknown W. Brackets
408ea88cd6 Fix incorrect state after reset in multithreading.
This would change coreState from CORE_POWERUP too early.  It's already
done in BootDone().
2014-07-06 14:02:45 -07:00
Unknown W. Brackets
5db79dcf11 Fix some missing semicolons on log statements. 2014-06-29 19:09:37 -07:00
Henrik Rydgard
498136bbf8 Switch to vertical layout automatically as the window is being resized
Prevents ending up in the wrong layout on startup and being unable to fix it
without restarting the emulator.
2014-06-29 21:08:19 +02:00
Henrik Rydgård
fe4246452c Merge pull request #6455 from thedax/ui-minor
Let the user disable the recent tab altogether when iMaxRecent is < 0.
2014-06-29 11:32:41 +02:00
Henrik Rydgård
7e83d1820b Merge pull request #6456 from unknownbrackets/gpu-minor
Allow changing software skinning and prescale uv at runtime
2014-06-29 11:02:29 +02: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
Unknown W. Brackets
95f4341838 Allow changing prescale uv at runtime. 2014-06-28 21:51:25 -07:00
Unknown W. Brackets
1c3b60a8ee Allow changing software skinning at runtime. 2014-06-28 21:46:43 -07:00
The Dax
bfab461fc4 Hide various UI options related to recent games when iMaxRecents < 0. 2014-06-28 23:44:24 -04: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
Unknown W. Brackets
f39b1625af Add a safety check. 2014-06-22 10:05:27 -07:00
Unknown W. Brackets
fa4a50de23 Clear dataLoaded flags after clearing data.
Seems to fix some race for me with background icons showing up black.
Maybe a double load?
2014-06-22 09:56:05 -07:00
Unknown W. Brackets
47ad97617e Play AT3 files in background audio too.
Fixes 3rd Birthday and PQ2, at least.
2014-06-22 09:55:14 -07:00
Henrik Rydgard
29e9d0caa3 More focus handling issue fixing 2014-06-22 18:32:57 +02:00
Henrik Rydgard
fa3cdb0e3d Fix issue where the "background audio game" could get cleared by mistake.
Takes care of the case of going to the game menu through Triangle.
2014-06-22 18:16:36 +02:00
Henrik Rydgard
3b55d1190d BG music: Zero the sample buffer on decode fail 2014-06-22 17:57:12 +02:00
Henrik Rydgard
3b4e30d50f bg audio: Sprinkle on some thread safety 2014-06-22 17:26:15 +02:00
Henrik Rydgard
f8e32f4a71 Just zero the buffer if we failed to open the file 2014-06-22 17:18:40 +02: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
Henrik Rydgard
b1ae00c56f GameInfoCache: Clear snd together with bg 2014-06-22 09:57:02 +02:00
Henrik Rydgard
6ec74ef99e Be consistent about how we read and update the UI state variable 2014-06-22 09:57:01 +02:00
Unknown W. Brackets
d5ddf4c438 Make it easy to get the SND0.AT3 data. 2014-06-21 18:38:26 -07:00
Unknown W. Brackets
a6436d04f5 Support PIC0 in PBP files. 2014-06-21 18:29:54 -07:00
Unknown W. Brackets
a0340debd6 Use flags to specify wanted data in gamecache. 2014-06-21 18:24:21 -07:00
Unknown W. Brackets
0416f0d918 On main screen, show game bgs using controller.
This won't affect touch UIs but it's a nice touch for controller based
animation imho.
2014-06-21 18:04:27 -07:00
Unknown W. Brackets
f4f3d280f7 Avoid locking up the UI for gamecache loads.
If the icon/bg is not loaded yet, we'd lock and block for it to load
anyway.  This uses a separate (or possibly atomic) lock.
2014-06-21 18:03:32 -07:00
Unknown W. Brackets
a22fb9289d Load the icon on the game screen with the bg.
Still looks nicer this way.
2014-06-21 14:03:50 -07:00
Unknown W. Brackets
53547bd8b9 Refactor a bit to simplify the code. 2014-06-21 13:49:30 -07:00
Unknown W. Brackets
1a44b557e5 Allow loading game info without clearing old.
More seamless when we already have the icon, for example.
2014-06-21 13:44:07 -07: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
The Dax
c54b84aeb3 Oops, restore the deleted stencil test option since we haven't decided its fate yet. 2014-06-16 18:43:22 -04:00
The Dax
f6ee9c77f4 Buildfix. 2014-06-16 14:18:49 -04:00
The Dax
92882b6384 Throw "Disable Alpha Test" into the pile of options to be disabled. 2014-06-16 14:18:49 -04:00
The Dax
f0dc4f7693 Do it for post-processing and resolution too, to be consistent. 2014-06-16 14:18:49 -04:00
The Dax
120e5e8cbe Disable more stuff, and use cached booleans instead.
Conflicts:
	UI/GameSettingsScreen.cpp
2014-06-16 14:18:49 -04:00
The Dax
98ebe26e33 GameSettingsScreen: Disable a bunch of options when software rendering is enabled.
They don't do anything when software rendering is enabled, so there's bound to be confusion caused by these options continuing to be enabled.

Conflicts:
	UI/GameSettingsScreen.cpp
2014-06-16 14:18:48 -04:00
Unknown W. Brackets
913914a4c1 Fix some type conversion warnings. 2014-06-15 10:01:54 -07: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
Henrik Rydgård
ad70cfdcb3 Merge pull request #6325 from unknownbrackets/ui-tweaks
Support drag-and-drop of savestate files
2014-06-15 08:34:46 +02:00
Unknown W. Brackets
063e8508df Support drag-and-drop of savestate files.
Most likely you want to load the state, not see an error message.
2014-06-14 16:13:35 -07:00
Henrik Rydgard
3b2fed472e Correct timing on resume, avoids small speed burst when resuming gameplay from pause 2014-06-14 23:56:16 +02:00
Henrik Rydgard
aa31b9ace9 The "fallback" title is already set, don't need to set it again 2014-06-14 00:19:09 +02:00
Henrik Rydgard
3e97713d16 Revert "Remove option" (disable alpha test)
Fixes issue #6286.

This reverts commit d2ce635bbf.
2014-06-10 23:13:42 +02:00
Sacha
37b7667038 Remove some unnecessary #ifdef's relating to Symbian. 2014-06-10 23:06:00 +10:00
Henrik Rydgard
c39c36ddea Improve layout of control mapping screen 2014-06-09 22:26:23 +02:00
Sacha
3e50086d19 Travis: update. Fix screenshots in Qt 2014-06-10 02:51:23 +10:00
Henrik Rydgard
e8433f6fef cheat screen: Add shortcut to launch notepad with the current cheat file 2014-06-09 00:13:59 +02:00
Henrik Rydgard
77c85bccdd Don't lose focus after mapping a control.
Makes it a lot less aggravating to remap more than one control using a controller.

Also fixes a race condition.
2014-06-08 15:38:13 +02:00
mildlysec
c3dfb64839 Added ability to press analog keys lightly using shift button 2014-06-07 22:21:54 +02:00
Sacha
ed96d73187 Use OpenCPPFile for iostream open without the ifdef's. 2014-06-06 00:22:43 +10:00
The Dax
285640dbdf CWCheats: Make sure to convert paths properly so that non-English paths are supported. 2014-06-04 23:01:03 -04:00
Unknown W. Brackets
0daaf70ee3 Add UI for realtime sync option. 2014-06-03 01:36:20 -07:00
sum2012
6ed269d16b Attempt to solve Travis CI build 2014-06-02 18:28:16 +08:00
sum2012
d3c511e793 Use TextView instead of Choice 2014-06-02 18:21:34 +08:00
sum2012
c9219e1d0c Add missing "F" 2014-06-02 16:40:37 +08:00
sum2012
93827b383d OSK for network setting for non-windows
Fix windows 's full screen problem too
2014-06-02 14:15:07 +08:00
The Dax
4ab69656fe Win32 buildfix. 2014-05-30 18:21:40 -04:00
Sacha
5394eb29c8 Fix #6169. variable was defined in class but treated as local to function in parts. This meant it wasn't being cleared properly when view was recreated (eg. changing language). 2014-05-28 17:05:15 +10:00
Unknown W. Brackets
a5e3623742 Skip cpu change when game not running.
Oops, this happened when changing settings.  Fixes #6167.
2014-05-27 23:03:08 -07:00
raven02
608d43898d Remove AlphaMaskHack 2014-05-27 22:11:18 +02:00
lioncash
ee520d0974 Fix a typo in GameSettingsScreen 2014-05-27 12:41:55 -04:00
Unknown W. Brackets
ccb0e84631 Oops, forgot to move this, darn it. 2014-05-27 00:39:36 -07:00
Unknown W. Brackets
a70b5abfb9 Allow jit to be enabled/disabled at runtime. 2014-05-27 00:02:51 -07:00
Unknown W. Brackets
b2e66d0b6a Clear jit when changing "fast memory".
This way it takes effect immediately.
2014-05-26 23:39:53 -07:00
Henrik Rydgård
548d27e95c Merge pull request #6133 from sum2012/UI
Add a network setting and Windows OSK keyboard option
2014-05-26 00:22:43 +02:00
sum2012
22e198962f Fix translate 2014-05-25 17:47:56 +08:00
sum2012
ce2abe44d0 Add a space 2014-05-25 17:14:07 +08:00
Henrik Rydgard
90f2d06697 Add setting to enable/disable GPU block transfer 2014-05-25 10:18:14 +02:00
sum2012
9138fec3c1 Add a network setting
Non-windows setting cannot change
2014-05-25 13:19:56 +08:00
sum2012
9658b3a1b8 Add a Windows OSK keyboard option 2014-05-25 09:26:30 +08:00
Unknown W. Brackets
42e6dc2e2f Fix Symbian build (avoid range for.) 2014-05-21 08:40:14 -07:00
Unknown W. Brackets
b596e952bf Attempt to make range-for work in 4.6.3... 2014-05-21 08:11:11 -07:00
Unknown W. Brackets
0a92d377b0 Avoid a race condition during game shutdown.
Hoping this is it.
2014-05-21 01:13:40 -07:00
Henrik Rydgard
b65e90e71d Forgot to make translatable 2014-05-19 23:43:59 +02: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
Unknown W. Brackets
14be491aa8 Don't set pending boot flag on "stop".
And rename to boot pending, not "boot successful."
2014-05-15 22:17:19 -07:00
Unknown W. Brackets
bfa02f8fa1 Fix some spurious resets on stopping a game. 2014-05-11 10:58:33 -07:00
Henrik Rydgård
d3ab35673b Merge pull request #6036 from thedax/gameSettingsScreen-ui-fix
GameSettingsScreen: Adjust the "Show Touch Pause Menu Button" enabling logic slightly.
2014-05-08 13:34:03 +02:00
Henrik Rydgård
155dcee5a6 Merge pull request #5975 from raven02/patch-32
Audio : add low/medium/high audio latency mode
2014-05-08 11:00:01 +02:00
Henrik Rydgård
9dfe12dc2a Merge pull request #6035 from thedax/egl-extensions-tab
SystemInfoScreen: Don't show the EGL Extensions tab if there are none to show.
2014-05-08 10:47:03 +02:00
Henrik Rydgård
fcaaedebbd Merge pull request #5951 from raven02/patch-23
Medium quality mode for spline patch
2014-05-06 23:05:27 +02:00
The Dax
e311e6a7b0 Update the alternative speed slider to use the new stepping system.
Also, no need to use floats at all with a revised formula.
2014-05-06 04:49:23 -04:00
The Dax
8320cee1bc GameSettingsScreen: Adjust the "Show Touch Pause Menu Button" enabling logic slightly.
We don't want it to be enabled in-game, but there's also no point enabling the option if the user isn't showing touch controls to begin with.
2014-05-06 01:11:27 -04:00
The Dax
09d7dc30ff SystemInfoScreen: Don't show the EGL Extensions tab if there are none to show. 2014-05-06 00:26:51 -04:00
Henrik Rydgård
8bab8dac9b Merge pull request #6027 from unknownbrackets/ui-tweaks
Improve reset (and delay) and boot of another game
2014-05-05 08:31:09 +02:00
Unknown W. Brackets
6183dadc31 Improve reset (and delay) and boot of another game.
Fixes #6023.
2014-05-04 19:58:36 -07:00
The Dax
4fce3e4588 Alt speed slider: Remove the rounding, since native does it automatically. Don't use an integer divide. 2014-05-04 15:44:22 -04:00
The Dax
eacd4c3e19 Allow the speed to go as low as 0% (at which point it becomes unlimited, since zero FPS limit in the code means unthrottle). 2014-05-03 16:35:36 -04:00
The Dax
1dd10ef536 Switch to a slider for alternative speed, and make its range 5-600%. 2014-05-03 16:26:05 -04:00
The Dax
37fd7a95db Let desktop SDL builds see the fullscreen option, too. There's no reason they can't. 2014-04-27 16:22:22 -04:00
raven02
eda3d48d53 Switch to low/medium/high audio latency mode 2014-04-27 22:11:26 +08: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
raven02
aa08944528 Medium Quality mode for spline patch 2014-04-26 12:04:26 +08:00
The Dax
847895320d Don't allow switching between JIT/interpreter when a game is running.
It doesn't work, anyway.
2014-04-22 00:27:31 -04:00
Unknown W. Brackets
4dcf1d86ed Don't count all files as savedata if id blank. 2014-04-20 20:50:45 -07:00
Unknown W. Brackets
63b5ec3d85 Allow specifying a root path for host0:/.
This way, similar to the PSP, we can have a root path outside the test.
2014-04-19 21:43:09 -07:00
vnctdj
9b825ffde3 Changed translation category
"Audio hacks" is not a "Main Setting", it should belong to "Audio".
2014-04-15 23:25:04 +02:00
Henrik Rydgård
45246ad9d3 Merge pull request #5891 from raven02/kill-alpha
Remove 'DisableAlphaTest' option
2014-04-15 22:00:18 +02:00
raven02
d2ce635bbf Remove option 2014-04-16 03:57:57 +08:00
kaienfr
cc933d6fc9 Merge remote-tracking branch 'origin/master' into Universal_Audio_Branch 2014-04-14 11:49:27 +02:00
Klimis Ioannidis
a758781544 Blacklist GLTools (Chainfire3D-like app for 3.0+) 2014-04-13 23:25:56 +03:00
kaienfr
e25bc6908a Fix nonsmooth sound issue and incomplete frame at the end of source and pcm buffers.
using a std::string to save the source buffer, and changing the loading strategy so as we will not get any incomplete frame.
2014-04-12 23:16:38 +02:00
kaienfr
d5c1d58506 Audio Speed Hack (fill pcm buffer)
Dead or alive will be better to using this hack, but some other games will be too fast.
So, it's optional.
2014-04-12 17:16:31 +02:00
Henrik Rydgård
6c406823c0 Enable the better looking vertical mode for the homescreen in portrait mode 2014-04-03 22:44:18 +02: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
Henrik Rydgard
d7b0287e7a Make a string translatable in tilt settings dialog 2014-03-20 00:29:34 +01:00
Unknown W. Brackets
1e1ebb3dbf Execute android profiler on Exit. 2014-03-18 23:55:17 -07:00
Unknown W. Brackets
c9be2f606c Fix a type conversion warning. 2014-03-15 10:41:13 -07:00
Henrik Rydgard
4df49a72ab Add yet another hack setting to work around the 3rd Birthday problem.
Hopefully temporary...
2014-03-13 19:00:35 +01:00
Henrik Rydgård
8bc717cf67 Take care of #5639 without hardcoding the array size. 2014-03-13 08:15:22 +01:00
Henrik Rydgård
6b709a601d Update native 2014-03-10 23:21:21 +01:00
The Dax
8efd67280d Show unknown.png regardless of PARAM.SFO when an ISO lacks the file.
It's better than showing a black rectangle with nothing in it for broken or homebrew ISOs.
2014-03-06 08:25:40 -05:00
Henrik Rydgård
30e58d9848 More work on smoother keyboard focus 2014-03-03 12:56:01 +01:00
Henrik Rydgård
36c8d7f408 Focus the start button on the pause screen. Update native with focus fixes. 2014-03-03 11:39:42 +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
The Dax
8c31e1ca21 Add a basic decrypted EBOOT.BIN dump function.
It won't dump already decrypted EBOOTs.
2014-02-27 01:35:17 -05:00
The Dax
ffcae56209 Actually force the pause button on Symbian, iOS, and Meego Harmattan.
Instead of leaving a loophole open which could allow an ini edit, just force it on for these.
2014-02-25 01:57:32 -05:00
The Dax
57ed2149ef Let the touchscreen pause/menu button be available for everybody.
It's still forced ON on iOS, Symbian, and Meego Harmattan.
2014-02-25 01:39:10 -05:00
Sacha
c520884888 Blackberry/Symbian: Improve tilt. 2014-02-20 04:00:22 +10:00
Henrik Rydgard
e561f576b5 Windows screenshots: Name the files after the game ID. Implements #5504 2014-02-17 23:43:58 +01:00
Unknown W. Brackets
df1a26793b When the language changes, recreate all views.
Not just the current screen's views.  Fixes language not switching on main
screen when changed in settings.
2014-02-17 11:40:59 -08:00
Unknown W. Brackets
3dea6fdd86 Cache reporting support to avoid slowdown.
Turns out checking flash0:/ was not fast, oops, but especially when
disabled.

Also, make the box show as disabled when it's been disabled during the
session, and make it not do that in the menu.
2014-02-15 20:34:03 -08:00
Henrik Rydgard
3ba629081b Temporary: Exit "hard" on Android again.
This is to prevent more unforeseen issues like the rotation lock
problem in the bugfix release.

Will be reverted again later.
2014-02-15 10:00:29 +01:00
Henrik Rydgård
0dd9e2dbaf Merge pull request #5452 from unknownbrackets/win-fixes
Clean up some Windows leaks, optimize symbol map a bit
2014-02-15 09:31:37 +01:00
Unknown W. Brackets
75de50123a Don't need to check inited for PSP_Shutdown() now. 2014-02-14 23:02:29 -08:00
Henrik Rydgård
0f1032841b Merge pull request #5380 from ufdada/patch-2
Only enable autoframeskip if frameskipping != 0
2014-02-14 13:27:55 +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
Unknown W. Brackets
ab8a8a61dc Shut down emulation when the game exits.
Fixes #5421.
2014-02-12 08:06:53 -08:00
ufdada
76e81c182a another approach 2014-02-11 18:32:26 +01:00
Henrik Rydgård
1e1cd730bd Fix crash on exit in SDL builds and possibly others.
This was caused by NativeShutdown getting called twice.

Native* functions should not be called by the app directly, they should
always be called by the platform abstraction. Dunno what I was thinking
here.
2014-02-11 11:32:54 +01: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
8b6b491820 Remove obsolete outputWidth/outputHeight 2014-02-10 12:44:35 +01:00
Henrik Rydgård
25bf95fcf3 Merge pull request #5388 from unknownbrackets/reporting
Adjust reporting to track and send more things
2014-02-10 09:48:20 +01:00
Unknown W. Brackets
739da04322 Also need this to prevent double-shutdown.
That exit(0) before was skipping a lot of stuff..
2014-02-09 18:18:36 -08:00
Unknown W. Brackets
b46ca9f94b Lock out reporting if harmful settings are used.
Before, if you turned it on, broke stuff, and then turned it off, we
reported the broken stuff.  This could be responsible for various
messages that have seemed strange.
2014-02-09 17:39:16 -08:00
Unknown W. Brackets
274160bc22 Centralize game background drawing code.
No need to duplicate it everywhere.
2014-02-09 17:39:15 -08:00
Henrik Rydgard
ca500b0bf4 Add setting for Kitkat Immersive Mode on Android. 2014-02-09 23:16:08 +01:00
ufdada
bf580ec2e1 Only enable autoframeskip if frameskipping != 0
Referencing #5373.
2014-02-09 13:20:38 +01:00
Unknown W. Brackets
7add81fbd2 Use USING_WIN_UI instead of _WIN32 for differences.
Just makes the code clearer and probably helps other UIs work on Windows
more easily.
2014-02-08 16:38:45 -08:00
Unknown W. Brackets
cd4cd77938 Clean up defines in MSVC project files.
This way they're all basically the same.  A lot of cases where
debug/release/etc. where inconsistent...

Also, define USING_WIN_UI.
2014-02-08 16:38:44 -08:00
Unknown W. Brackets
d2108a962e Switch from USING_GLES2 to MOBILE_DEVICE.
Still using USING_GLES2 for, well, GLES2.  But for things that are really
about mobile, we need a new define.  Devices are coming that don't use
GLES2.
2014-02-08 16:37:58 -08:00
Unknown W. Brackets
2c204e8028 Update project to MSVC 2013 tools.
Retaining XP support, using SDK 7.1a (v120_xp.)  Disables SSE2 flag on x64
since it's implied and causes compile warnings.
2014-02-08 13:41:28 -08:00
ufdada
0fc8c35297 Fix language selection list
You can´t choose any language on android, probably because of a bugfix (see ca8311b4b8)
2014-02-04 17:24:28 +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
The Dax
73f61d908c Use [Unknown]'s suggested method instead. 2014-01-31 00:54:38 -05:00
The Dax
910abacb3f Skip showing the info menu if the RMB is bound. 2014-01-31 00:48:25 -05:00
The Dax
87c2201873 Don't crash when enable debug stats is enabled in a game, then turned off after exiting a game. 2014-01-27 23:34:02 -05:00
Henrik Rydgård
289729f43c Merge pull request #5216 from DanyalZia/frameskip
Separates out auto-skip from frameskiping
2014-01-26 14:06:45 -08:00
DanyalZia
251b0e86ee Separates out auto-skip from frameskipping 2014-01-26 00:50:00 +05:00
Unknown W. Brackets
8f98fa78aa Allow right click / triangle on a game item.
Fixes #3866, makes keyboard navigation a bit better.
2014-01-25 11:24:06 -08:00
Unknown W. Brackets
d820768396 Properly exit error screen when hitting cancel.
Fixes #3351.
2014-01-25 00:40:14 -08:00
Unknown W. Brackets
eeaeb91610 Disable scaling to odd multiples when unsupported.
May help #4000.
2014-01-19 21:14:21 -08:00
Unknown W. Brackets
a73b15b963 In multithreadead, load the game async.
This way if it takes time to load, things aren't frozen while it's doing
that.  This allows us to show any sort of loading animation or etc. we
want.

Before, it might show a odd looking game select screen while loading, and
then finally go to black.  Now it immediately goes to black.

Fixes #2030.
2014-01-19 14:41:01 -08:00
adrian17
c52c2375c0 Removed dead code from UI 2014-01-19 13:51:24 +01:00
Henrik Rydgard
c55578367f Add option "Small Display", useful for large tablets to avoid overlapping touch controls with the screen.
Will later replace with a multiselect of different sizes, or something more advanced
like multitouch drag & zoom of the screen to get it exactly where you want it.
2014-01-16 00:22:39 +01:00
raven02
a4ac0de131 0 is FAT and 1 is SLIM 2014-01-13 20:45:28 +08:00
raven02
30181fab43 Option to select PSP models (1000, 2000/3000) 2014-01-13 20:04:15 +08:00
Unknown W. Brackets
79864a5ee0 Fix some initialization order warnings. 2014-01-10 22:21:24 -08:00
Henrik Rydgård
51484e48a9 Merge pull request #5043 from thedax/win32IgnoreWindowsKeyOption
Win32: Add an option to disable the Windows key when the emulator is the active window.
2014-01-08 10:46:47 -08:00
The Dax
f6606e2e2b Win32: Add the option to the Game Settings menu, too, and add a separator in NewUI. 2014-01-07 16:08:11 -05:00
The Dax
9d2868b7ce Win32: Add option to disable the Windows key. 2014-01-07 16:02:00 -05:00
zack-vii
26fbb4c32c "Next Slot" control mapping
-added "Next Slot" to control mapping menu
-added VIRTKEY_NEXT_SLOT -> incremented VIRTKEY_TOGGLE_FULLSCREEN
-added SaveState::NextSlot(); as replacement for code in
WndMainWindow
-added entry in EmuScreen using SaveState::NextSlot();
2014-01-07 15:56:04 +01:00
Henrik Rydgard
a387f6dd8b Also disable some weird axis events we get on Ouya from mapping. 2014-01-07 00:01:41 +01:00
Henrik Rydgard
5f2954bc69 Prevent the accelerometer from being mapped to controls directly until we can create sane UI for that. 2014-01-06 23:58:59 +01:00
Henrik Rydgård
53deef19c5 Merge pull request #4998 from ufdada/master
disable some settings if sound isn´t enabled
2014-01-03 12:06:55 -08:00
ufdada
028bbbeb0b value already bool, no need to cast it 2014-01-03 21:03:57 +01:00
ufdada
70a8391d90 disable some settings if sound isn´t enabled 2014-01-03 20:58:59 +01:00
Henrik Rydgård
c51b117ba2 Merge pull request #4991 from ufdada/master
Also disable vertex cache option if hw transform is disabled
2014-01-03 10:11:14 -08:00
ufdada
a13ea7cd56 Disable vertex cache option if hw transform is disabled 2014-01-03 18:20:34 +01:00
Henrik Rydgard
af8a9bcb5a Remove silly debug log 2014-01-03 17:48:21 +01:00
Henrik Rydgård
f570601f84 Preliminatory support for a fullscreen toggle for SDL platforms.
Does not seem to work on Mac.
2014-01-03 15:16:23 +01:00