Commit Graph
30007 Commits
Author SHA1 Message Date
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
Henrik Rydgård 942958c7d8 Store the OpenSL error in a global to avoid "No context"
Followup to #14536
2021-06-16 07:28:45 +02:00
Henrik Rydgård 5ccac17123 Merge pull request #14536 from hrydgard/opensl-error-handling
Remove asserts from OpenSL init. Expose error inside audio settings
2021-06-15 23:45:04 +02:00
Henrik Rydgård 90cb284837 Remove asserts from OpenSL init. Expose error inside audio settings 2021-06-15 23:13:07 +02:00
Henrik Rydgård c92775d26b Try a slightly rougher fix for libretro builds
(our builds work, but not their CI)
2021-06-14 22:44:27 +02:00
Henrik Rydgård 727b84ce5e Possible fix for reported problem with gettid() in libretro 2021-06-14 18:07:24 +02:00
Unknown W. Brackets 8ae3f5eb41 Android: Fix logical CPU count.
Otherwise bad things happen.
2021-06-13 12:47:11 -07:00
Unknown W. Brackets cdcd77a931 Core: Correct relocation error check. 2021-06-13 10:51:51 -07:00
Unknown W. Brackets 87716a158f Merge pull request #14391 from hrydgard/new-threadpool
New ThreadManager, replacing threadpools and "PrioritizedWorkQueue"
2021-06-13 07:08:32 -07:00
Henrik Rydgård 6d634f0c96 Mailbox: Address feedback 2021-06-13 11:27:12 +02:00
Henrik Rydgård e7b3afbc7a Minor cleanups 2021-06-13 10:28:27 +02:00
Henrik Rydgård 81f0c3a8e4 Address feedback (except the mailbox refcount) 2021-06-13 10:16:53 +02:00
Henrik Rydgård 1d59560409 Make use of hyperthreading for worker threads. Still cap to 16 workers. 2021-06-13 00:05:18 +02:00