Commit Graph

1428 Commits

Author SHA1 Message Date
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