Commit Graph
30019 Commits
Author SHA1 Message Date
Henrik Rydgård df6abe83a3 Support depth clamping in OpenGL where available.
Should make support for depth texturing quite easy.

Unfortunately, this extension does not exist on OpenGL ES. There we'll
have to use ugly tricks with gl_FragDepth if we want this.
2021-07-09 21:09:44 +02:00
Henrik Rydgård 5bd9e93196 Merge pull request #14596 from hrydgard/analog-setup-screen
Replace the "Test Analogs" screen with a new screen that lets you directly try the settings.
2021-07-09 19:30:45 +02:00
Henrik Rydgård d4c5ba990b Minor tweaks 2021-07-09 19:17:41 +02:00
Henrik Rydgård ca408ba369 Change some names, add scroll view for analog settings 2021-07-09 17:25:00 +02:00
Henrik Rydgård 7707b03b6d Analog calibration: Tweak defaults, add reset buttton 2021-07-09 17:18:15 +02:00
Henrik Rydgård a8ffe15843 Move the raw input data display to the touchscreen tester. Put the output to the left next to the controls. 2021-07-09 17:05:20 +02:00
Henrik Rydgård ef51097f06 Move auto-rotation code to ControlMapper so it can be checked using the new screen 2021-07-09 16:14:51 +02:00
Henrik Rydgård 038a579f8d Move the setting up a bit 2021-07-09 13:16:38 +02:00
Henrik Rydgård 69f96705cb Merge pull request #14594 from hrydgard/control-refactor-2
More control refactoring
2021-07-09 13:14:50 +02:00
Henrik Rydgård 2303926e88 Replace the "Test Analogs" screen with a new screen that lets you directly try the settings. 2021-07-09 13:10:16 +02:00
Henrik Rydgård 42f7ab7341 Hide the calls to ConvertAnalogStick inside ControlMapper. 2021-07-09 11:01:56 +02:00
Henrik Rydgård fac4c2a90b Move the internal screen rotation compensation to after value mapping. 2021-07-09 10:52:48 +02:00
Henrik Rydgård cd8cfcfcd7 Merge __CtrlSetAnalogX/Y into one function. Always called together. 2021-07-09 10:41:26 +02:00
Henrik Rydgård 7eaa687140 Move the joystick deadzone processing until after all the mapping. 2021-07-09 00:07:55 +02:00
Henrik Rydgård c3c7eef6af Avoid a name collision from previous commit, to be safe. 2021-07-09 00:05:47 +02:00
Henrik Rydgård 26f69d578a Merge pull request #14592 from hrydgard/control-refactor
Break out EmuScreen's key/axis inputs to ControlMapper.cpp/h
2021-07-08 23:40:43 +02:00
Henrik Rydgård a2e814f29a Buildfix 2021-07-08 22:39:17 +02:00
Henrik Rydgård 98372c465f Break out EmuScreen's key/axis inputs to ControlMapper.cpp/h
Additionally, break out the analog stick mapping to the same file.

This will make more sense soon when I change where the analog mapping
is called from, but want this refactor in separately for testing.
2021-07-08 22:24:00 +02:00
Yifan Gu dea13f7197 Disable analog stick deduplication (#14590)
* Refactor and unify analog input settings

* Disable analog stick deduplication
2021-07-08 17:47:38 +02:00
Henrik Rydgård f7bf15ac4f Merge pull request #14589 from stuken/14572_fix
Fix black screen on multiple libretro content loads.
2021-07-08 16:48:19 +02:00
Stuart Kenny 96454fcbb6 Revert removal of Teardown call
As per review recommendation.
2021-07-08 15:39:51 +01:00
Stuart Kenny 02a24cdb7d Fix black screen on multiple libretro content loads.
Moves ThreadPool teardown to retro_unload_game. Gives ThreadPool threads some breathing room to terminate before game load starts spamming it with tasks.
2021-07-08 08:34:48 +01:00
Henrik Rydgård 752fdc9d4d Merge pull request #14587 from hrydgard/memarena-error-checking
Somewhat improved error checking in MemArena.
2021-07-07 21:15:56 +02:00
Henrik Rydgård 43c16f1ea2 Merge pull request #14588 from hrydgard/vk-correct-565-format
Vulkan: Use the mandatory-support RGB565 format and not the opposite one.
2021-07-07 21:15:47 +02:00
Henrik Rydgård 9a2e220e0d Vulkan: Use the mandatory-support RGB565 format and not the opposite one.
Had apparently misread the spec.

Fixes validation (and probably rendering) errors on Linux/Intel.

https://www.khronos.org/registry/vulkan/specs/1.2/html/chap33.html#features-required-format-support
2021-07-07 19:07:29 +02:00
Henrik Rydgård 6c51dabe9a Somewhat improved error checking in MemArena. 2021-07-07 19:01:42 +02:00
Henrik Rydgård 25cfb92a9c Merge branch 'gyf304-master' 2021-07-05 12:39:10 +02:00
Henrik Rydgård 6e76a22461 Avoid crash on early input events.
Not elegant, really should use a mutex or something...
2021-07-05 12:38:46 +02:00
Yifan Gu 633a6f612b Refactor and unify analog input settings 2021-07-05 12:38:46 +02:00
Henrik Rydgård c96692fd2e Merge pull request #14585 from nassau-tk/jpn0.pgf-fix
Fix some Japanese characters position.
2021-07-04 10:14:32 +02:00
nassau-tk 082bf0d67c Fix some Japanese characters position. 2021-07-04 09:47:59 +09:00
Henrik Rydgård 8aa78a8ef4 Merge pull request #14577 from bslenul/fft-libretro-fix
[Libretro] Fix analog left direction for FFT
2021-07-01 12:49:41 +02:00
bslenul 9539fb2ea0 [Libretro] Fix analog left direction for FFT 2021-07-01 12:18:57 +02:00
AdamN 6867613ef6 Merge pull request #14107 from MojoJojoDojo/master
[Adhoc] Replace the link to the Ad-hoc forums in Networking options to a PPSSPP Github Wiki page link
2021-07-01 15:08:32 +07:00
Henrik Rydgård ff2a6eeda2 Merge pull request #14539 from nassau-tk/fix-jpn0.pgf
Fix some Japanese characters position.
2021-06-27 23:09:29 +02:00
Unknown W. Brackets bca0f3979c Merge pull request #14567 from CookiePLMonster/fix-uwp-views-crash
UWP: Add a missing bounds check from  TextDrawerWin32::DrawStringBitmap
2021-06-27 09:48:52 -07:00
Silent c4572afdb1 UWP: Add a missing bounds check from TextDrawerWin32::DrawStringBitmap
Fixes a crash on switching tabs
2021-06-27 17:55:42 +02:00
Henrik Rydgård bb38cf842b Merge pull request #14562 from ANR2ME/adhoc_discover
[AdhocDiscover] Updated Logs on sceNetAdhocDiscover to find more info on games that use AdhocDiscover.
2021-06-25 11:42:42 +02:00
ANR2ME e059bc980c Updated Logs on sceNetAdhocDiscover to find more info on games that use AdhocDiscover. 2021-06-25 12:22:49 +07:00
AdamN 8e9b0122a8 Merge pull request #14550 from ANR2ME/adhoc
[Adhoc] Making sure not to get random port when original port is not zero.
2021-06-22 18:45:47 +07:00
ANR2ME a7752997e1 Minor changes to Wrapped Port detection. 2021-06-21 18:28:37 +07:00
ANR2ME 4251f821dc Making sure not to get random port when original port is not zero. 2021-06-21 18:28:37 +07:00
ANR2ME fda4744af3 Show the returned error code on sceNetAdhocctlCreate/Connect/Join on Debug Log 2021-06-21 18:28:37 +07:00
Henrik Rydgård 15a2373f04 Implement thread debug id with the syscall instead of gettid().
See #14545
2021-06-21 01:27:17 +02:00
Henrik Rydgård efb32b5694 Merge pull request #14548 from sum2012/osk_patch
Add some PPSSPP's Japanese keyboard
2021-06-20 20:49:10 +02:00
sum2012 664f02114a Add some PPSSPP's Japanese keyboard
fix #14311
2021-06-20 22:38:25 +08:00
Henrik Rydgård ca7c14e512 Merge pull request #14545 from hrydgard/gettid-fix-redux
An attempt at cleaning up the checks in ThreadUtil
2021-06-19 16:08:06 +02:00
Henrik Rydgård 692a54ea74 An attempt at cleaning up the checks in ThreadUtil 2021-06-19 14:54:36 +02:00
nassau-tk 09f90969ec Fix some Japanese characters position. 2021-06-18 09:45:29 +09:00
Henrik Rydgård 906b38e1bf Merge pull request #14537 from hrydgard/android-opensl-error-global
Store the OpenSL error in a global to avoid "No context"
2021-06-16 07:39:46 +02:00