Commit Graph

4490 Commits

Author SHA1 Message Date
Henrik Rydgård
1304d04161 Fix a particular type of race condition in file dialog requests
It seems to be possible for a user to back out of a screen before
receiving the "dialog completed" callback on Android, in which case
things pointed to by the callback might be gone.

In this case, it's better to simply not call the callback, rather than
crashing.

This is accomplished by assigning "Tokens" to screens that cause
requests, and in ~Screen, invalidate any pending requests belonging to
that token.
2024-01-18 12:25:55 +01:00
Henrik Rydgård
3967d074bf EmuScreen: Use CLEAR instead of DONT_CARE to help the render pass merger.
Should fix #18720

We need to annotate store mode properly too, in order to merge passes
that load with DONT_CARE.

The reason it's a problem that we fail to merge renderpasses is that old
Mali drivers get things in a terribly wrong state if you submit an empty
renderpass.
2024-01-18 09:44:40 +01:00
Henrik Rydgård
6b20fdfb11
Merge pull request #18715 from hrydgard/more-beta-fixes
More beta fixes
2024-01-17 18:21:45 +01:00
Henrik Rydgård
cbb4236cd8 Vulkan: Attempt to fix some more shutdown race conditions, simplify. 2024-01-17 14:49:49 +01:00
Henrik Rydgård
cf635fcd1e Add new translation strings 2024-01-17 10:51:12 +01:00
Henrik Rydgård
9253bf9cb5 Add a new screen for managing installed Adreno drivers 2024-01-17 10:51:08 +01:00
Henrik Rydgård
e1b1ae449b Don't crash after mapping analog speed to a stick.
Fixes #18689
2024-01-16 14:32:42 +01:00
Henrik Rydgård
8b282a5d79
Merge pull request #18701 from hrydgard/more-beta-crash-fixes
More beta crash fixes
2024-01-15 18:16:37 +01:00
Henrik Rydgård
dc4f22d1a4 GameDB: Add a mutex, and load on demand instead. 2024-01-15 17:17:02 +01:00
Henrik Rydgård
d6e1851c5b
Merge pull request #18699 from hrydgard/adrenotools-error-check
Adrenotools driver installation: Fix bad error checks
2024-01-15 12:49:26 +01:00
Henrik Rydgård
775ba0a422 Update lang files 2024-01-15 11:50:48 +01:00
Henrik Rydgård
8faba8426a AdrenoTools: Fix picking zip files from the Downloads folder. Add more validation. 2024-01-15 11:46:41 +01:00
Henrik Rydgård
739f22f721 Add a possibly missing check in EmuScreen 2024-01-15 10:47:16 +01:00
Henrik Rydgård
dc4053095a Add some paranoia checks in the GameDB 2024-01-15 10:47:16 +01:00
Henrik Rydgård
096131db81 Update rcheevos 2024-01-14 13:47:44 +01:00
Henrik Rydgård
00f53ad767 Handle file type detection of extracted ISO directories better. Reported by Nemoumbra. 2024-01-12 15:37:53 +01:00
Henrik Rydgård
a8854c9cba Add translation string 2024-01-12 11:30:00 +01:00
Henrik Rydgård
4360fe786c Add a setting for smart 2D texture filtering 2024-01-12 11:10:53 +01:00
Henrik Rydgård
5a7db8aa11 Fix issue with touch control editor with no game running. Fixes #18652 2023-12-31 01:04:14 +01:00
Henrik Rydgård
acd719448e Wrap g_Config.bRunBehindPauseMenu behind a function, so we can add conditions 2023-12-30 21:50:20 +01:00
Henrik Rydgård
4e90d82e23 Fix sceKernelExitGame (regressed with the run-in-background stuff) 2023-12-30 11:58:29 +01:00
Henrik Rydgård
a023dc98f0 Change title of login dialog for RetroAchievements.
Idea by Silent to help password managers.
2023-12-30 11:11:51 +01:00
Henrik Rydgård
9c1fd06c2f Various fixes to PathBrowser etc to handle browsing HTTP subfolders 2023-12-29 21:34:24 +01:00
Henrik Rydgård
679b8330ff Add bindings for toggling mouse control and touch screen controls. Not bound by default.
I think I'll find myself using both of these for testing, feel worthwhile.

Suggested in #18464
2023-12-29 17:40:57 +01:00
Henrik Rydgård
63181374c7 Finish previous commit 2023-12-29 17:24:15 +01:00
Henrik Rydgård
4609df40c9 Update gamepad opacity once per frame, not once per button 2023-12-29 17:09:38 +01:00
Henrik Rydgård
f42e9d94a3 Show the tilt input type directly on the item that goes to the tilt settings 2023-12-29 14:10:03 +01:00
Henrik Rydgård
7d114eb29b Remote ISO: Add working support for streaming CHD files over the network 2023-12-29 13:34:22 +01:00
Henrik Rydgård
71f1e29513 Remote ISO: Allow sharing a folder of ISOs instead of Recent. 2023-12-29 12:55:08 +01:00
Henrik Rydgård
e6bc3d83f8 Logging improvement 2023-12-29 11:44:22 +01:00
Henrik Rydgård
cd00d06842 Add reload button to GameBrowser. Fix assert if game load failed 2023-12-29 00:18:04 +01:00
Henrik Rydgård
6ac4cc4559 Remote disc streaming: Add an option for a "Remote" tab on the main screen 2023-12-28 18:58:47 +01:00
Henrik Rydgård
7ab979a387 Reduce the minimum for the analog trigger threshold 2023-12-28 15:38:02 +01:00
Henrik Rydgård
3895cfff74 Add "Analog trigger threshold" setting, for conversion of analog trigger inputs to digital button inputs. 2023-12-28 13:36:03 +01:00
Henrik Rydgård
e47791d4c4 Remove unnecessary vector 2023-12-21 11:16:10 +01:00
Henrik Rydgård
e40ec0cc50
Merge pull request #18589 from hrydgard/organize-bindings
Control Mappings: Organize bindings into categories
2023-12-20 19:03:13 +01:00
Henrik Rydgård
91b5956fc4 Fix background color of crash screen 2023-12-20 17:03:06 +01:00
Henrik Rydgård
a996afb9f6 Allow unpausing with keys bound to pause. 2023-12-20 16:55:39 +01:00
Henrik Rydgård
9cb3d03098 Add categories for control bindings 2023-12-20 16:20:26 +01:00
Henrik Rydgård
2d4e59eb62 Control mapping UI: Fix bug where we warn about combo mappings unnecessarily for axis input 2023-12-20 15:37:46 +01:00
Henrik Rydgård
d339a4b985 Buildfix 2023-12-20 15:15:34 +01:00
Henrik Rydgård
dd1396e2fd
Merge pull request #18581 from GermanAizek/lower-scope
Reduced lower scope for local objects
2023-12-20 14:53:36 +01:00
Henrik Rydgård
dd15a1573d Add setting to configure simulated key-up delay for mouse wheel events 2023-12-20 11:39:37 +01:00
Herman Semenov
95f535dab0 [UI/Windows] Object out of scope optimization for better codegeneration (lower level scope) 2023-12-20 12:35:02 +03:00
Henrik Rydgård
ffa3529e6f
Merge pull request #18572 from hrydgard/disable-range-culling-hack
Add "Disable culling" as a speedhack for experimentation
2023-12-18 21:49:37 +01:00
Henrik Rydgård
97e0f6dc94 Prepare for deferred waits 2023-12-18 17:15:56 +01:00
Henrik Rydgård
50bcb2a77a Add "Disable culling" as a speedhack for experimentation
Range culling (which we'll just call culling in the setting
name) still is problematic enough that it can be useful to have this
way to turn it off as an escape route. Since disabling it can break some
games like famously TOCA, it needs to be under speedhacks, though likely
the performance change is minimal.

See for example #17061
2023-12-18 13:13:44 +01:00
Henrik Rydgård
ef149bd9f3 Allow EmuScreen to run behind the DevMenu popup 2023-12-18 12:59:18 +01:00
Henrik Rydgård
818471a2d7 Mouse wheel: Centralize the sending of KEY_UP events on a timer. 2023-12-17 19:40:59 +01:00
Henrik Rydgård
41bbc83b6d EmuScreen: Fix some cases where we didn't set viewport or scissor 2023-12-15 11:31:40 +01:00