11967 Commits

Author SHA1 Message Date
Henrik Rydgård
471941cca7 Fix the analog limiter deadzone setting. 2023-04-15 10:14:19 +02:00
Henrik Rydgård
23c940370e abs->fabsf. Might fix #17284 2023-04-15 10:13:57 +02:00
Henrik Rydgård
39d7651866
Merge pull request #17270 from unknownbrackets/debugger-cond
Debugger: Add memory breakpoint conditions
2023-04-12 23:13:26 +02:00
Henrik Rydgård
178fe27263
Merge pull request #17269 from unknownbrackets/debugger-minor
Debugger: Avoid unaligned reads in expressions
2023-04-12 10:38:08 +02:00
Unknown W. Brackets
6998b188f3 Debugger: Fix disasm at start of kernel RAM.
We ended up with an unaligned start address for our window.
2023-04-12 01:14:30 -07:00
Unknown W. Brackets
9cebfc31b3 Debugger: Avoid unaligned reads in expressions.
Potentially, a watch or break condition could crash if it was unaligned
between mirrors.  This might happen if it's not the condition you wanted,
especially.  Play it safe.
2023-04-12 01:14:30 -07:00
Unknown W. Brackets
069ff3e58c Debugger: Add memory bp conditions to websockets. 2023-04-12 01:07:56 -07:00
Unknown W. Brackets
c47e88529d Debugger: Add memory check conditions.
Currently, this isn't exposed anywhere.
2023-04-12 01:07:56 -07:00
Unknown W. Brackets
0f5859510e x86jit: Simplify memcheck handling.
Now it's mostly the same as the other jits.
2023-04-12 01:07:48 -07:00
Nemoumbra
5bf22c15d0 sceKernelPrintf improvement, QOL adjustments 2023-04-11 15:47:50 +03:00
Unknown W. Brackets
a37f0c256d Debugger: Correct stack walk at start of func. 2023-04-09 16:05:47 -07:00
Henrik Rydgård
7f60acf898
Merge pull request #17259 from unknownbrackets/debugger-minor
A few more debugger things
2023-04-09 22:25:04 +02:00
Unknown W. Brackets
8a74d95eb2 Debugger: Fix format for 32-bit OS. 2023-04-09 12:07:41 -07:00
Unknown W. Brackets
1fc74b1980 Debugger: Format vfpu offsets as hex.
Let's be consistent across FP and VFPU, it's confusing otherwise.
2023-04-09 10:44:19 -07:00
Unknown W. Brackets
f6640cf5e5 Debugger: Fix viim disassembly. 2023-04-09 10:36:51 -07:00
Unknown W. Brackets
5233a3bc84 Debugger: Cleanup some sign extends in disassembly. 2023-04-09 10:36:20 -07:00
Henrik Rydgård
88a209a342 Move the report bool into the flags field 2023-04-08 09:22:02 +02:00
Henrik Rydgård
d077a75aa4 Merge "save" and "perGame" into a flags field 2023-04-08 09:22:02 +02:00
Henrik Rydgård
b84f723a7f Make the save and per-game flags non-optional 2023-04-08 09:22:02 +02:00
Henrik Rydgård
b3d85ae89a Prepare for settings move 2023-04-08 09:22:02 +02:00
Henrik Rydgård
6ac45ddba1 Extract the ConfigSetting implementation into its own file. 2023-04-08 09:22:02 +02:00
Henrik Rydgård
5a1e9ed8f1 Add ConfigSettings.cpp/h 2023-04-08 09:22:02 +02:00
Henrik Rydgård
873bc7c295 Remove <functional> from config.cpp 2023-04-08 09:22:02 +02:00
Henrik Rydgård
12bd0ed26d Restore the shared_ptrs 2023-04-07 10:35:01 +02:00
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
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
Lubos
cc1dd22e0f OpenXR - Option to disable HUD detection added 2023-04-05 22:49:46 +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
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
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
Andreas Stieger
822592c6b1 Fix build with GCC13: various standard includes 2023-04-05 00:20:14 +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
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
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
fc62d587c0 Fix whitespace issues 2023-04-02 16:36:39 +02:00
Герман Семенов
8d5af48efd Core: using if constexpr C++17 optimization 2023-04-02 16:35:57 +02:00
Henrik Rydgård
d1e21ab896 Fix return value from control mapper Key. Fixes volume key issue on Android. 2023-04-02 10:41:26 +02:00
Henrik Rydgård
9146020aa4 Logic fix, optimization, remove hack. See post-comments on #17215 2023-04-01 22:45:26 +02:00
Henrik Rydgård
47785aa2bb
Merge pull request #17215 from hrydgard/multi-mapping-input
Control map multiple keys to one output
2023-04-01 20:47:45 +02:00
Henrik Rydgård
33ba6f6f1a Fix for menu navigation with DInput controllers on Windows. Bit of a hack. 2023-04-01 20:28:48 +02:00
Henrik Rydgård
c1b5aed9b7 Cleanup, confine g_controllerMap access to KeyMap.cpp 2023-04-01 20:28:42 +02:00
Lubos
de462f481f OpenXR - Disable stereo in Motorstorm 2023-04-01 19:48:53 +02:00