Commit graph

36364 commits

Author SHA1 Message Date
Henrik Rydgård
ee6234ecb6 I18N: Switch to getting categories by index instead of by string lookup
Also gets rid of the shared_ptr usage, and generally makes things nicer.

Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Unknown W. Brackets
07b8b6f35a
Merge pull request #17248 from ppmeis/patch-3
Update es_ES.ini
2023-04-06 22:03:54 -07:00
PpmeiS
5ef56a612b
Update es_ES.ini
Added new strings, fix typos and better translations.
2023-04-06 20:01:09 +02:00
Henrik Rydgård
ec6bdbc0c4
Merge pull request #17247 from hrydgard/ignore-mode-key
Always tell Android we handled the BUTTON_MODE key
2023-04-06 13:24:36 +02:00
Henrik Rydgård
d5f131f6a7 Always tell Android we handled the BUTTON_MODE key
Otherwise, as seen in #17245, some devies can decide to do something weird with it,
like exiting the app.
2023-04-06 12:34:40 +02:00
Henrik Rydgård
f390c3a6ee
Merge pull request #17244 from unknownbrackets/debugger-memcheck
Debugger: Trigger mem breakpoints for mirrors
2023-04-06 07:56:56 +02:00
Unknown W. Brackets
6df939034a Core: Cleanup some sign extensions for clarity. 2023-04-05 17:16:51 -07:00
Unknown W. Brackets
142707ccf3 x86jit: Reduce memory breakpoint codegen.
Was generating a lot of code and, in some games, burning through the jit
cache causing constant recompilation with just a few breakpoints.
2023-04-05 17:14:51 -07:00
Unknown W. Brackets
e73474e590 Debugger: Cache memcheck ranges.
Rebuilding these can be a bit slow each time, speed up jit compilation by
caching them.
2023-04-05 17:13:00 -07:00
Henrik Rydgård
58a6c1f611
Merge pull request #17241 from hrydgard/chat-window-fixes
Chat window fixes
2023-04-06 00:20:35 +02:00
Henrik Rydgård
8a16c6e853
Merge pull request #17240 from lvonasek/compat_openxr_fixes
OpenXR - Game compatibility workarounds
2023-04-05 23:58:06 +02:00
Henrik Rydgård
d333733bc1
Merge pull request #17239 from hrydgard/bump-zstd
Update zstd to 1.5.5
2023-04-05 23:56:26 +02:00
Henrik Rydgård
92f6fcfb9d Create the chat window even if the on-screen chat button is disabled. 2023-04-05 23:47:51 +02:00
Henrik Rydgård
3af24a5d9f Fix issue where the chat-window key would feel stuck after closing the window (two presses needed) 2023-04-05 23:21:51 +02:00
Lubos
cc1dd22e0f OpenXR - Option to disable HUD detection added 2023-04-05 22:49:46 +02:00
Henrik Rydgård
a80d1c91da Update zstd to 1.5.5
See https://github.com/facebook/zstd/releases/tag/v1.5.5
2023-04-05 22:20:51 +02:00
Lubos
3c1bf4a50f OpenXR - Disable VR in Red Bull X-Fighters 2023-04-05 22:17:21 +02:00
Unknown W. Brackets
1d3f262eda Debugger: Trigger mem breakpoints for mirrors. 2023-04-05 06:57:42 -07:00
Unknown W. Brackets
09f3c446b8 Debugger: Improve perf with write-only memchecks. 2023-04-05 06:36:40 -07:00
Henrik Rydgård
0662fc8e72
Merge pull request #17237 from hrydgard/slider-defaults
Slider setting defaults
2023-04-05 11:26:53 +02:00
Henrik Rydgård
6f9339b011 Add defaults for all int-slider settings too 2023-04-05 10:50:53 +02:00
Henrik Rydgård
4e0babc950 Add a "reset to default" for all float-slider settings
Unfortunately, the default values from the configs are not exposed
outside Config.cpp, so there's duplication.

Need to figure out how to do fix that, but it's out-of-scope for this
PR.
2023-04-05 10:50:53 +02:00
Henrik Rydgård
35e7dabd7b
Merge pull request #17236 from hrydgard/integer-scale-tweaks
Integer scale tweaks
2023-04-05 10:46:44 +02:00
Henrik Rydgård
cf28556d6d When integer scaling, take the internal render resolution into account. 2023-04-05 09:48:28 +02:00
Henrik Rydgård
ff907bd523 Fix crash in MIPSStackWalk 2023-04-05 09:48:03 +02:00
Henrik Rydgård
8f96ec371e Rename iBufFilter -> iDisplayFilter 2023-04-05 09:34:18 +02:00
Henrik Rydgård
9874737087
Merge pull request #17234 from andreasstieger/gcc13
Fix build with GCC13: various standard includes
2023-04-05 00:45:33 +02:00
Andreas Stieger
822592c6b1 Fix build with GCC13: various standard includes 2023-04-05 00:20:14 +02:00
Unknown W. Brackets
5c1e66a910
Merge pull request #17228 from hrydgard/vfpu-fallbacks
Add back our older VFPU approximations, as fallbacks if the table files are missing
2023-04-03 23:53:12 -07:00
Unknown W. Brackets
853fd2fb76
Merge pull request #17232 from hrydgard/vulkan-always-use-accurate-depth
Don't use inaccurate depth with Vulkan on any GPU
2023-04-03 23:51:07 -07:00
Henrik Rydgård
0c82067edf Manually remove that bloat from the filter file again 2023-04-03 22:39:03 +02:00
Henrik Rydgård
3a69569580 Don't use inaccurate depth with Vulkan on any GPU except some special-cased Mali drivers.
Fixes #17044
2023-04-03 22:36:13 +02:00
Henrik Rydgård
f401a803a6 Fix VFPU table deployment on UWP 2023-04-03 22:20:11 +02:00
Henrik Rydgård
6a1f438ef4 UWP buildfix 2023-04-03 22:14:07 +02:00
Henrik Rydgård
3e587fc992
Merge pull request #17227 from hrydgard/libretro-audio-simplification
Libretro audio simplification
2023-04-03 11:47:45 +02:00
Henrik Rydgård
aba026f7e9 Add back our older VFPU approximations, as fallbacks if files are missing.
PR #16984 added more accurate versions of these functions, but they require
large lookup tables stored in assets/.

If these files are missing, PPSSPP would simply crash, which isn't good.

We should probably try to warn the user somehow that these files are
missing, though...
2023-04-03 11:33:41 +02:00
Henrik Rydgård
2d73551af2 Makefile/readme updates 2023-04-03 10:46:38 +02:00
Henrik Rydgård
1d0afd4867 libretro: Rip out the audio speed control logic, libretro should handle that internally. 2023-04-03 10:01:49 +02:00
Unknown W. Brackets
ecfd4759dd
Merge pull request #17224 from hrydgard/integer-scaling
Add support for integer scale factor for display
2023-04-02 13:53:15 -07:00
Henrik Rydgård
c08c711006 Fix portrait mode integer scaling 2023-04-02 22:35:51 +02:00
Henrik Rydgård
d223d3c316 Rename CenterDisplayOutputRect to CalculateDisplayOutputRect 2023-04-02 22:29:08 +02:00
Henrik Rydgård
2fa93982ea Add support for integer scale factor for display
This is mainly useful if you want an authentic pixellated look with 1x
rendering (or software) and nearest display filter. It'll simply round
down the auto-scaled sized to the nearest integer scale factor,
configuring exactly which one isn't that interesting since they all are
gonna look good.

Fixes #17093
2023-04-02 22:29:08 +02:00
Henrik Rydgård
f1165bd2ae
Merge pull request #17225 from unknownbrackets/savestate-minor
SaveState: Attempt to recover from missing files
2023-04-02 21:38:54 +02:00
Unknown W. Brackets
269f01f841 SaveState: Attempt to recover from missing files.
If there were files open before that don't exist, things could go badly.
But we could at least load the state file and hope the game doesn't break.
That's better that refusing to load at all.
2023-04-02 12:17:59 -07:00
Henrik Rydgård
9f6338e098
Merge pull request #17222 from hrydgard/broadcom-disable-ubershader
Turn off light ubershader generation on Broadcom GPUs.
2023-04-02 18:32:10 +02:00
Henrik Rydgård
bb351e0511
Merge pull request #17223 from hrydgard/cpp-17
MSVC: Set language standard to c++17.
2023-04-02 18:31:35 +02:00
Henrik Rydgård
d996fb74d4 MSVC: Set language standard to c++17.
Noticed that we were getting some new warnings after merging the
constexpr stuff.
2023-04-02 17:55:15 +02:00
Henrik Rydgård
1374fb040c Turn off light ubershader generation on Broadcom GPUs.
Attempt at working around #16824
2023-04-02 17:39:28 +02:00
Henrik Rydgård
aeff08eed7
Merge pull request #17221 from hrydgard/if-constexpr
Use "If constexpr". Just #17197 rebased on master with some parts removed
2023-04-02 17:03:48 +02:00
Henrik Rydgård
3af961f3ba Revert DrawPixel changes 2023-04-02 16:41:29 +02:00