Commit Graph
39166 Commits
Author SHA1 Message Date
Henrik Rydgård 2bade70e3c Merge pull request #16809 from unknownbrackets/thread-ordering
ThreadManager: Don't allow reordering of queue
2023-01-15 10:40:54 +01:00
Henrik Rydgård 1b2bc0583c Merge pull request #16810 from unknownbrackets/rockman-dash-2-fix
Sas: Adjust Rockman 2 sustain on init only
2023-01-15 10:37:41 +01:00
Unknown W. Brackets 9909e0d668 Sas: Adjust Rockman 2 sustain on init only. 2023-01-14 16:57:49 -08:00
Unknown W. Brackets 92585403c4 Sas: Make ADSR fields private. 2023-01-14 16:55:40 -08:00
Unknown W. Brackets 7d13d87435 Windows: Fix MSVC 2017 compile. 2023-01-14 16:35:28 -08:00
Unknown W. Brackets 3a6fa9b4ba ThreadManager: Don't allow reordering of queue.
Allowing a priority item is faster, but can cause confusion when you
expect things to run in the same sequence they're enqueued.
2023-01-14 16:35:01 -08:00
Henrik Rydgård 5521bd62d7 Merge pull request #16805 from hunterk/master
expose analog-is-circle functionality to libretro
2023-01-14 01:12:17 +01:00
hunterk ce4e42eb2b expose analog-is-circle functionality to libretro 2023-01-13 17:22:24 -06:00
Henrik Rydgård 027edd6f59 Cleanup and warning fix in the new sysclib functions 2023-01-13 10:45:30 +01:00
Henrik Rydgård 97bef89486 Some cleanup when fixing a warning 2023-01-13 10:42:03 +01:00
Henrik Rydgård ea18031654 Merge pull request #16804 from hrydgard/fix-pipeline-cache-race-condition
Fix a race condition during Vulkan shader cache load.
2023-01-13 10:41:01 +01:00
Henrik Rydgård 784e8ab782 Fix a race condition during Vulkan shader cache load.
Could lead to unnecessary pipelines being created.
2023-01-13 10:35:04 +01:00
Unknown W. Brackets 0f3f2e361f GLES: More uint const paranoia.
We don't use indexing on GLES now, but better to stay consistent.
2023-01-12 17:41:55 -08:00
Henrik Rydgård 5b3ac098ae Fix for old typo in OpenGL texture allocation 2023-01-12 19:45:40 +01:00
Henrik Rydgård 4c8d500706 Merge pull request #16803 from lvonasek/feature_openxr_hidehud
OpenXR - Allow scaling HUD to zero
2023-01-12 19:37:18 +01:00
Lubos e02eed6012 OpenXR - Allow scaling HUD to zero 2023-01-12 19:17:16 +01:00
Henrik Rydgård 0a13c78788 Revert "ffmpeg: Don't ask for multi-threaded decoding"
This reverts commit b173e0f4a4.

Turns out it's not actually known to fix anything, should have closed
that old PR.
2023-01-12 16:23:39 +01:00
Henrik Rydgård ca3303d507 Merge pull request #16185 from iota97/config-append
Allow to append some configs
2023-01-12 16:20:13 +01:00
iota97 5ebf683589 Allow to append some configs 2023-01-12 15:39:51 +01:00
Henrik Rydgård 5b7239acf5 Merge pull request #16799 from hrydgard/ffmpeg-single-threaded
ffmpeg: Don't ask for multi-threaded decoding
2023-01-12 12:53:06 +01:00
Henrik Rydgård 449d0a1314 Merge pull request #16800 from hrydgard/android-update-measurements
Android: update measurements on UI thread
2023-01-12 12:52:44 +01:00
Henrik Rydgård f38dd95368 Why not just schedule directly... 2023-01-12 12:24:45 +01:00
Henrik Rydgård 241d867ed7 Android: Take the key change from PR #16583, updating display measurements form the right thread 2023-01-12 12:20:17 +01:00
Henrik Rydgård b173e0f4a4 ffmpeg: Don't ask for multi-threaded decoding
For whatever reason, our version of ffmpeg has problems with it,
and I don't care enough to dig deep.

See PR #13806
2023-01-12 12:13:10 +01:00
Henrik Rydgård 3d6647e0cf Merge pull request #16797 from hrydgard/better-map-error
Android: Don't assert on failed Find4GBBase
2023-01-12 11:43:03 +01:00
Henrik Rydgård b118ffadea Add workaround for hung music notes in Rockman Dash 2
Fixes #11442. Or at least should, I haven't tested this, just followed the
discussion in the issue.

According to this issue, this is a game bug that happens on real hardware
too, due to a lousy job porting the game to the PSP, most likely, which has
different ADSR (note envelope) behavior.
2023-01-12 11:33:59 +01:00
Henrik Rydgård d71c6a0e95 Add some quick memory safety to the functions from #16095 2023-01-12 11:21:38 +01:00
Henrik Rydgård 8a66498359 Merge pull request #16095 from sum2012/sysclib_minor
Add some Sysclib 's nids
2023-01-12 11:14:53 +01:00
Henrik Rydgård 609e7f13c9 Handle a couple of valid but rare return values from vkAcquireNextImageKHR.
See #16601
2023-01-12 08:59:09 +01:00
Henrik Rydgård 0604e51272 Merge pull request #16734 from hrydgard/remove-nonindexed-optimization-vk
Vulkan: Don't use non-indexed draws for pure tristrips and fans (only PowerVR for now)
2023-01-12 08:09:21 +01:00
Henrik Rydgård 781374190c Merge pull request #16794 from hrydgard/remove-android-resolution-selector
Remove the Android display resolution selector
2023-01-12 08:09:03 +01:00
Henrik Rydgård 456a25e427 Merge pull request #16795 from hrydgard/vertical-improvements
Improve the use of space on the main screen in vertical mode.
2023-01-12 08:08:45 +01:00
Henrik Rydgård 6dc930feb7 Merge pull request #16796 from unknownbrackets/icache-typo
jit: Fix reporting of icache invalidate near PC
2023-01-12 07:30:24 +01:00
Unknown W. Brackets 8341b09087 jit: Fix reporting of icache invalidate near PC.
Reversed the check, that's what I get for not testing it.
2023-01-11 20:22:09 -08:00
Henrik Rydgård 0bc7854062 Android: Don't assert on failed Find4GBBase 2023-01-12 01:18:52 +01:00
Henrik Rydgård b4a91dbce5 Disable dark mode in disasm window, and the scrollbar hack 2023-01-12 01:05:06 +01:00
Henrik Rydgård 3c0a5e4c4c Fix the white line 2023-01-12 01:01:03 +01:00
Henrik Rydgård 8037eaa456 Further dark magic, no pun intended. Now for the menu bar. 2023-01-12 00:41:25 +01:00
Henrik Rydgård 62e5a5dfc3 Rudimentary support for Windows Dark Mode. Still undocumented for Win32 apps, so ugly. 2023-01-12 00:41:25 +01:00
Henrik Rydgård 86f34c52a4 Revert bad shader optimization 2023-01-12 00:30:41 +01:00
Henrik Rydgård adcb3e54f4 Improve the use of space on the main screen in vertical mode.
Arranges the main buttons horizontally.
2023-01-11 23:23:24 +01:00
Henrik Rydgård 1cfc7b11b8 Only force indexed draws on PowerVR / Vulkan. 2023-01-11 22:59:30 +01:00
Henrik Rydgård beed3c06d2 Vulkan: Don't use non-indexed draws for pure tristrips and fans, creates extra pipelines.
Bump shader cache version
2023-01-11 22:57:23 +01:00
Henrik Rydgård ea0eaa31e6 Remove the Android display resolution selector
I think its benefit is absolutely tiny if any, and causes a lot more
problems than it's worth. Bye.

Note that this isn't the rendering resolution selector, that will of
course still be there, but it's the "hardware scaler" resolution.
2023-01-11 22:53:42 +01:00
Henrik Rydgård 30586be75f Merge pull request #16791 from hrydgard/lighting-code-cleanup
Lighting code cleanup and optimization
2023-01-11 22:07:27 +01:00
Henrik Rydgård ca63bb1e5b Even more optimization/cleanup. Don't need to check ldot that we already know is >= 0.0. 2023-01-11 19:34:58 +01:00
Henrik Rydgård 965007d65b Tighten up the lighting shader code a bit, hopefully eliminating a branch or two. 2023-01-11 19:29:02 +01:00
Henrik Rydgård 1c8e456c97 Also apply this to OpenGL and D3D9 2023-01-11 19:29:02 +01:00
Henrik Rydgård 4c2a41cc83 Break out the attenuation term, too 2023-01-11 19:29:02 +01:00
Henrik Rydgård a508f7e345 Shave a few instructions from lighting shaders by prenormalizing the light dir used for spotlights 2023-01-11 19:29:02 +01:00