Commit graph

39071 commits

Author SHA1 Message Date
Henrik Rydgård
566d9f67f6 SDL input filtering 2023-12-08 16:17:38 +01:00
Henrik Rydgård
d234fa24e6 Add progress bar (without %) to install/uninstall. Other fixes. 2023-12-08 16:16:28 +01:00
Henrik Rydgård
888b32e243 Store: Perform uninstalls on a background thread, to avoid hanging the UI 2023-12-08 16:16:26 +01:00
Henrik Rydgård
a929eb6c6d Store: Remove unnecessary std::shared_ptr around the install thread 2023-12-08 12:49:15 +01:00
Henrik Rydgård
376db1f931 Remove the unused "front" draw2d buffer. Saves 1.5MB of RAM. 2023-12-08 12:29:24 +01:00
Henrik Rydgård
a22450320b Some minor changes and comments after memory profiling 2023-12-08 12:22:12 +01:00
Henrik Rydgård
89c320fe2b
Merge pull request #18487 from hrydgard/misc-cleanup
Misc code cleanup
2023-12-07 18:05:17 +01:00
Henrik Rydgård
378b3a15a6
Merge pull request #18488 from hrydgard/retroachievements-per-game
Make some achievement settings (including Hardcore mode) configurable per-game.
2023-12-07 17:37:04 +01:00
Henrik Rydgård
dde13b448f Use FastVec in VulkanBarrier 2023-12-07 17:30:18 +01:00
Henrik Rydgård
8dbcbe4ecf Align the APIs of the various vectors slightly 2023-12-07 17:30:16 +01:00
Henrik Rydgård
85001bf71f Remove some redundant uses of MOBILE_DEVICE. Goal is to one day get rid of that define. 2023-12-07 17:30:15 +01:00
Henrik Rydgård
676a4de4d7 Remove an ifdef controlling dialog button order 2023-12-07 17:30:15 +01:00
Henrik Rydgård
45b336a38c Make some achievement settings (including Hardcore mode) configurable per-game. 2023-12-07 17:09:21 +01:00
Henrik Rydgård
fc49c1029a
Merge pull request #18486 from hrydgard/compat-enforce-default-clock
Compat: Enforce [RequireDefaultCPUClock] compat flag by disabling overclocking for these games
2023-12-07 15:25:00 +01:00
Henrik Rydgård
b22e27a537 Compat: Enforce "RequireDefaultCPUClock" by disabling overclocking for these games
Instead of just warning.

Fixes #12811
2023-12-07 14:06:41 +01:00
Henrik Rydgård
8dab823936
Merge pull request #18484 from hrydgard/mlb-fix
Fix frozen pitch meters in MLB series games - we were not hashing enough texture data
2023-12-07 12:12:35 +01:00
Henrik Rydgård
ee4d98339c Beats: Fix file permissions on FAT so it can see custom MP3s.
On FAT file systems, files look like they have executable permission.
For some reason Beats checks for this.

Unfortunately, this doesn't really make custom music playable - while
they now display, they seem to start stuttering after a short while. Or
it's just my files...
2023-12-07 12:10:01 +01:00
Henrik Rydgård
877324c978 Add comment about swizzling to the texture replacer hash 2023-12-07 11:01:51 +01:00
Henrik Rydgård
443a882041 Fix the size calculation when hashing small swizzled textures 2023-12-07 10:45:31 +01:00
Henrik Rydgård
36a2174ac0 Vulkan: Add indicator of swizzle mode to texture debug names 2023-12-07 10:35:04 +01:00
Henrik Rydgård
7bf8023dce Don't do the texture size check for the built-in font texture.
Fixes #18483
Fixes #18479
2023-12-07 09:01:24 +01:00
Henrik Rydgård
7e5090ccd0
Merge pull request #18481 from Kaitul/master
Update zh_TW.ini
2023-12-06 22:05:56 +01:00
Kung-chih
e781b77aee
Update zh_TW.ini 2023-12-07 00:37:39 +08:00
Henrik Rydgård
45980671fa Compat: Enable [VertexDepthRounding] for Matching Maker 3 x Tousouchuu
See issue #15913
2023-12-06 10:40:11 +01:00
Henrik Rydgård
b90b6268ec
Merge pull request #18478 from hrydgard/block-transfer-to-depth
Handle block transfers from RAM to depth buffers.
2023-12-06 10:12:31 +01:00
Henrik Rydgård
4b6dbd19ee
Merge pull request #18477 from hrydgard/half-pixel-offset
D3D9: Apply a half-pixel offset in 2D shader draws.
2023-12-06 09:59:23 +01:00
Henrik Rydgård
26a51191b3 Cleaner solution to previous commit 2023-12-06 09:54:03 +01:00
Henrik Rydgård
8588b11a6a Rename MayIntersectFramebuffer to MayInteresectFramebufferColor 2023-12-06 09:42:44 +01:00
Henrik Rydgård
88f2657bb1 Allow block transfers from RAM to depth buffers.
Reuses the existing compat flag BlockTransferDepth.

I do aim to remove that compat flag in the future, it's probably not
even necessary here, it's just that general depth block transfers were
already gated on it.

Fixes #17878
2023-12-06 00:29:09 +01:00
Henrik Rydgård
e2480b9fa0 D3D9: Apply a half-pixel offset in 2D shader draws. Makes Tantalus games less broken (but still broken) 2023-12-05 14:09:14 +01:00
Henrik Rydgård
81d741a5fe D3D9: Fix recent regression (crash) 2023-12-05 13:41:04 +01:00
Henrik Rydgård
73d3de7b0d
Merge pull request #18476 from hrydgard/vertex-decoder-sse2-opt
VertexDecoder: Minor optimization for x86/64 CPUs not supporting SSE4.
2023-12-05 10:30:53 +01:00
Henrik Rydgård
64a810f9bf VertexDecoder: Minor optimization for CPUs not supporting SSE4. 2023-12-05 01:23:09 +01:00
Henrik Rydgård
6b8ec972fb A couple of warning fixes (real issues though small) 2023-12-05 01:12:42 +01:00
Henrik Rydgård
256d670ae5
Merge pull request #18475 from hrydgard/texture-low-mem-fixes
Vulkan: Fix double-free in the low-memory fallback. Also, reject too-big textures
2023-12-04 22:04:29 +01:00
Henrik Rydgård
5373b8c5b3 Fix double-free problem in "low-memory" texture fallback (Vulkan) 2023-12-04 19:47:20 +01:00
Henrik Rydgård
fb8ad0c33a Very minor cleanup in display list processing 2023-12-04 18:56:06 +01:00
Henrik Rydgård
bc4e8d4d47 Remove some remains of the old input attachment code 2023-12-04 14:50:02 +01:00
Henrik Rydgård
0a7afc7b04
Merge pull request #18473 from hrydgard/mouse-wheel-android
Add mouse wheel scrolling support for Android to the UI
2023-12-04 14:42:27 +01:00
Henrik Rydgård
84d3bfc506 Add mouse wheel support for Android
Fixes #18471

Tested on a Poco F4 phone with a generic Bluetooth mouse.
2023-12-04 13:41:52 +01:00
Henrik Rydgård
c1637b023b
Merge pull request #18472 from hrydgard/msaa-on-mobile
Vulkan: Allow MSAA on modern-ish mobile devices, but add a little warning sign.
2023-12-04 00:18:29 +01:00
Henrik Rydgård
1f2dbfaf25 Vulkan: Allow MSAA on modern-ish mobile devices, but add a little warning sign.
MSAA on tiler GPUs, the way we use it (we are not able to eliminate
load/store operations yet) can consume huge amounts of bandwidth, so let's be a
little bit careful.
2023-12-03 20:59:15 +01:00
Henrik Rydgård
0c760bae91
Merge pull request #18470 from hrydgard/texscale-extend-fix
Prim: A change of UV scale/offset requires us to stop "extending" prims
2023-12-03 19:47:26 +01:00
Henrik Rydgård
fd73522efc Changing UV scale/offset requires us to stop "extending" prims
This is because we currently can't change these scales mid-decode, so we
need to break up the collection there. Note that this still won't cause
a full flush, just that the new extra-efficient tristrip merging can't go
through these commands.
2023-12-03 19:21:55 +01:00
Henrik Rydgård
1065e18521
Merge pull request #18468 from hrydgard/more-retroachievements-tweaks
RetroAchievements: Show rich presence message on pause screen, restriction tweaks
2023-12-03 17:53:21 +01:00
Henrik Rydgård
17c779cd8f RetroAchievements: Display rich-presence messages on the pause screen 2023-12-03 17:21:14 +01:00
Henrik Rydgård
eae5f2abb8 Use "rc_client_is_processing_required" to determine when hardcore restrictions are to be enabled. 2023-12-03 16:43:49 +01:00
Henrik Rydgård
aed8bc6d7b RetroAchievements: Finish the Challenge->Hardcore rename 2023-12-03 16:41:29 +01:00
Henrik Rydgård
cd24f4e5b5 RetroAchievements: Only apply Hardcore restrictions if the game is recognized 2023-12-03 16:21:31 +01:00
Henrik Rydgård
0f262d5bd8 Update the rcheevos submodule again 2023-12-03 15:51:07 +01:00