Henrik Rydgård
a4d3e0ead8
Add range checks in replaced memcpy/memset functions. ( #16693 )
...
* Add range checks in replaced memcpy/memset functions.
Keep seeing especially Replace_memcpy as a semi-rare crash in the
reports. Hopefully this will take care of it, though if games hit this,
they're probably on their way to failing somehow anyway.
* Alternate approach, correctly causing memory exceptions if not ignoring
2023-01-01 18:25:40 +00:00
Henrik Rydgård
5a71db8808
Merge pull request #16692 from unknownbrackets/osk-confirm-btn
...
Dialog: Fix confirm/cancel button reversal
2023-01-01 18:51:45 +01:00
Unknown W. Brackets
87172f9dd5
Dialog: Fix confirm/cancel button reversal.
2023-01-01 09:34:13 -08:00
Henrik Rydgård
71aa4c318d
Merge pull request #16690 from unknownbrackets/softgpu-init
...
softgpu: Detect binner alloc fail and bail
2023-01-01 16:53:58 +01:00
Unknown W. Brackets
be84bc9934
softgpu: Detect binner alloc fail and bail.
2023-01-01 06:59:14 -08:00
Henrik Rydgård
71deec1d02
Merge pull request #16685 from unknownbrackets/replace-crash
...
Replacement: Verify out stride
2022-12-31 16:11:47 +01:00
Unknown W. Brackets
152c82e6d0
Replacement: Verify out stride.
2022-12-31 06:31:45 -08:00
Henrik Rydgård
25cf61f8c7
Merge pull request #16680 from unknownbrackets/zip-thread
...
Make sure we don't multithread libzip access
2022-12-31 08:37:30 +01:00
Henrik Rydgård
360ef22b2d
Merge pull request #16681 from unknownbrackets/mic-safety
...
Cleanup some mic data reading
2022-12-31 08:35:26 +01:00
Unknown W. Brackets
ff3e70be2f
UsbMic: Fix copy on resize shrink.
2022-12-30 21:31:33 -08:00
Unknown W. Brackets
1a85370c0a
UsbMic: Avoid some temp buffers, check range.
2022-12-30 21:29:26 -08:00
Unknown W. Brackets
b1f0c44e8a
Replacement: Lock libzip file access.
...
We can't have two threads seeking on the same fd at the same time.
2022-12-30 20:25:58 -08:00
Henrik Rydgård
97fadbcecb
Show bluescreen properly on memory errors that we failed to ignore.
...
Previously we just wouldn't draw it but still would be in the error
state.
2022-12-30 12:29:23 +01:00
Unknown W. Brackets
49f6c461ad
Reporting: Fix some header includes.
...
Particularly in Common, avoid including Core/Reporting.h.
2022-12-27 14:58:20 -08:00
Unknown W. Brackets
0496ca32ff
Global: Cleanup some minor includes and typos.
2022-12-27 08:33:07 -08:00
Lubos
56443a007c
OpenXR - Force flat mode for Madden NFL games
2022-12-26 15:57:29 +01:00
Unknown W. Brackets
4fa071e78a
riscv: Implement basic crash handler.
...
Tested by letting it recover non-guest crashes.
2022-12-24 19:08:31 +00:00
Unknown W. Brackets
808f47fd15
Core: Prevent crash if FakeJit is actually used.
...
Just make it fall back to the interpreter.
2022-12-24 17:42:50 +00:00
Henrik Rydgård
f68ba55f96
Minor initialization cleanups
2022-12-22 11:13:52 +01:00
Unknown W. Brackets
b9fe48f42d
Crash: Lookup block numbers more efficiently.
...
We only care about the first one in these places anyway. Also make sure
we don't try to match an invalid block number.
2022-12-20 21:02:52 -08:00
Unknown W. Brackets
c1c8a70401
Crash: Ensure we never handle faults in faults.
...
In theory, this shouldn't happen because it won't be in jit space, but
better to be sure.
2022-12-20 20:18:02 -08:00
Henrik Rydgård
e9ed8370a7
Merge pull request #16608 from unknownbrackets/ini-load-cleanup
...
Cleanup value corrections in config load/save
2022-12-19 23:01:51 +01:00
Henrik Rydgård
e54d79ab76
Merge pull request #16629 from unknownbrackets/msvc-cleanup
...
Build: Cleanup MSVC project files
2022-12-19 19:46:29 +01:00
Unknown W. Brackets
15908856dd
Build: Cleanup MSVC project files.
...
Remove some files that don't exist anymore, add some other platform
files for convenience.
2022-12-19 10:13:43 -08:00
Unknown W. Brackets
ef04c4f55c
Utility: Report YugiohSaveFix usage.
2022-12-19 07:56:23 -08:00
Henrik Rydgård
621b91be57
Merge pull request #16620 from unknownbrackets/armips-flag
...
Build: Allow compiling without armips
2022-12-19 08:11:36 +01:00
Unknown W. Brackets
74084f4420
Debugger: Don't hang mem dump if stepping in GE.
2022-12-18 21:26:59 -08:00
Unknown W. Brackets
21332c677b
Build: Allow compiling without armips.
2022-12-17 10:08:46 -08:00
Unknown W. Brackets
2b3071412e
Config: Cleanup a few more settings commonly.
2022-12-17 09:03:07 -08:00
Unknown W. Brackets
4404b3a5f2
Config: Force jit off with game-specific configs.
2022-12-17 09:03:07 -08:00
Unknown W. Brackets
5c9a38d50c
Config: Cleanup Path usage for ini file load/save.
2022-12-17 09:03:07 -08:00
Henrik Rydgård
61cc6cd0e0
Fix bug swapping O/X visually on PSPOskDialog
2022-12-16 21:51:20 +01:00
Henrik Rydgård
3053f763f6
Add setting for transparent UI background
...
Fixes #16593
2022-12-16 09:15:08 +01:00
Henrik Rydgård
8986f92db8
Merge pull request #16573 from hrydgard/geometry-shader-default-off
...
Disable geometry shader culling by default
2022-12-14 10:49:19 +01:00
Unknown W. Brackets
2168188cb8
Config: Remove unused values.
2022-12-13 18:24:59 -08:00
Henrik Rydgård
69819852d4
Disable geometry shader culling by default
...
Geometry shaders allow us to fix some clipping and culling issues in a
neat way on Mali and other platforms that don't support cull/clip
planes, plus allow us to take care of some esoteric edge cases
(triangle inversion), but unfortunately, at least on my Galaxy S20 with
32.1 drivers, they're just incredibly slow to compile. Around 100ms per
shader, which leads to multi-second stutters on first run in Wipeout for
example.
Until we can either reduce the number of shaders drastically, or we find
a driver version that's faster at compiling that we can cut this off at,
let's not default to them on. They are still available for use, and I'll
put something on the website to explain the issue...
2022-12-13 23:10:32 +01:00
Unknown W. Brackets
fe470c790e
Postshader: Reset ini keys for defaults.
...
Should fix the Vignette shader defaults, see #16562 .
2022-12-12 19:11:20 -08:00
Henrik Rydgård
939b3111c7
Merge pull request #16543 from hrydgard/shutdown-fix-attempt
...
Windows: Fix cleanup order on shutdown
2022-12-11 13:41:42 +01:00
Henrik Rydgård
af59bc161b
Merge pull request #16488 from lvonasek/config_openxr_update
...
OpenXR - Fixes for release candidate
2022-12-11 13:37:09 +01:00
Lubos
58ad49b79c
OpenXR - Default color correction adjusted
2022-12-11 12:35:52 +01:00
Henrik Rydgård
e48a1599d4
Delete a few obsolete lines of code
2022-12-11 10:01:55 +01:00
Unknown W. Brackets
c9f3878e9d
Core: Correct a use after free.
2022-12-10 21:13:37 -08:00
Unknown W. Brackets
1810692236
Global: Cleanup some type/range checks.
2022-12-10 21:13:37 -08:00
Unknown W. Brackets
9cfcbc46e6
Global: Cleanup initialization/pointer checks.
...
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
a7b7bf7826
Global: Set many read-only params as const.
...
This makes what they do and which args to use clearer, if nothing else.
2022-12-10 21:13:36 -08:00
Unknown W. Brackets
f44852bb18
Global: Cleanup virtual/override specifiers.
...
Also missing virtual destructors, hidden non-overrides, etc.
2022-12-10 21:13:36 -08:00
Lubos
c2d6e05dd1
OpenXR - Default UI saturation adjusted
2022-12-10 21:57:02 +01:00
Lubos
df01f18aa6
Merge branch 'master' into config_openxr_update
2022-12-10 10:20:29 +01:00
Lubos
13ca232fc0
Merge branch 'master' into config_openxr_update
2022-12-07 21:56:55 +01:00
Lubos
0aeb207428
OpenXR - Separate config for VR build
2022-12-07 21:40:13 +01:00