Commit Graph

35091 Commits

Author SHA1 Message Date
Henrik Rydgård
d8136adbed GPUCommon::FastRunLoop: Try not to crash 2023-01-02 22:01:20 +01:00
Henrik Rydgård
b4571648d2
Merge pull request #16706 from unknownbrackets/softgpu-lighting
softgpu: Fix lighting with 0 exp
2023-01-02 21:01:58 +01:00
Unknown W. Brackets
f1b5cbf993 softgpu: Fix lighting with 0 exp.
Broken in #15317.  Fixes Kratos scene demo.
2023-01-02 11:42:52 -08:00
Henrik Rydgård
76a4e2cc71
Merge pull request #16705 from unknownbrackets/ffmpeg-up
Build: Update ffmpeg submodule for Android
2023-01-02 20:27:39 +01:00
Unknown W. Brackets
d940381043 Build: Update ffmpeg submodule for Android.
Build script update to fix build with latest NDK.
2023-01-02 11:11:57 -08:00
Unknown W. Brackets
78eece8a1e
Merge pull request #16703 from hrydgard/misc-stuff
Minor fixes based on the latest Google Play report
2023-01-02 09:07:08 -08:00
Henrik Rydgård
397846c0fc Just add a sanity check in NativeInitGraphics. 2023-01-02 17:38:38 +01:00
Henrik Rydgård
a3252078e6 Reorder the information in assert lines by importance, to avoid the juicy stuff getting cut out 2023-01-02 16:43:01 +01:00
Henrik Rydgård
bd6cdeb4ce Remove "toast" message on failure in displayInit, not allowed from that thread. 2023-01-02 16:31:30 +01:00
Unknown W. Brackets
a420fc23a5
Merge pull request #16702 from unknownbrackets/readme
README: Fix some linkification
2023-01-02 07:23:39 -08:00
Unknown W. Brackets
10412d561b README: Fix some linkification. 2023-01-02 06:43:51 -08:00
Henrik Rydgård
0f4f9997fd Update version number 2023-01-02 10:19:53 +01:00
Henrik Rydgård
392e3b310d Update README.md for 1.14.3 2023-01-01 23:48:15 +01:00
Unknown W. Brackets
8714461f9b
Merge pull request #16698 from hrydgard/dialog-fixes
Screen background fixes
2023-01-01 14:15:05 -08:00
Henrik Rydgård
474999c462 Minor code cleanup / warning fix 2023-01-01 22:00:53 +01:00
Henrik Rydgård
360de9a372 RemoteISO screens: Make them dialogs so ESC works to exit them on PC.
Also fix the background on the main one, and in savedata manager.

See #16605
2023-01-01 21:55:02 +01:00
Unknown W. Brackets
9f85323b8a
Merge pull request #16697 from hrydgard/safer-bone-matrix-fast-load
Check for valid memory range when doing fast bone matrix loads
2023-01-01 12:02:45 -08:00
Henrik Rydgård
2951a6494f Check for valid memory range when doing fast bone matrix loads
In reality, this is probably very rarely a real concern but we do get a
measurable amount of crash reports here. Though if that first access
crashes, which it seems to, we'd probably likely crash soon after this
anyway...
2023-01-01 20:45:02 +01:00
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
Unknown W. Brackets
dadde7a5b7
Merge pull request #16691 from hrydgard/more-minor-fixes
Change a couple of Crash() to _assert_/_assert_msg_
2023-01-01 09:20:01 -08:00
Henrik Rydgård
f7df69f50c Change a Crash() to an _assert_msg_ 2023-01-01 17:23:24 +01: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
Henrik Rydgård
1353817afa
Merge pull request #16689 from unknownbrackets/vk-shutdown
Vulkan: Avoid race in compile thread exit
2023-01-01 15:59:55 +01:00
Unknown W. Brackets
be84bc9934 softgpu: Detect binner alloc fail and bail. 2023-01-01 06:59:14 -08:00
Unknown W. Brackets
6c79d94814 Vulkan: Avoid race in compile thread exit. 2023-01-01 06:40:26 -08:00
Henrik Rydgård
40386bca08
Merge pull request #16688 from unknownbrackets/debugger
Debugger: Correct check of pending list item
2022-12-31 19:39:28 +01:00
Unknown W. Brackets
bfc659ab5f Debugger: Correct check of pending list item.
Since updating is async now, setting the check state should be too.
2022-12-31 09:58:24 -08:00
Henrik Rydgård
6faed721ad
Merge pull request #16678 from unknownbrackets/breakpoint-errors
Debugger: Correct errors in breakpoint create
2022-12-31 18:15:45 +01: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
fd5a27f985 Some more paranoia. Name the EmuThread on Android, just because. 2022-12-31 15:18:14 +01:00
Henrik Rydgård
caa5e67396
Merge pull request #16683 from hrydgard/minor-fixes
Assorted fixes after looking at crash data
2022-12-31 12:41:51 +01:00
Henrik Rydgård
9ceffa284d Vulkan: Add robustness against bad shader module compiles 2022-12-31 12:21:53 +01:00
Henrik Rydgård
d2feb444b7 Bunch of defensive programming around shaders 2022-12-31 12:21:51 +01:00
Henrik Rydgård
ebaef49516 NativeShutdownGraphics: Check screenManager for nullptr. 2022-12-31 11:53:16 +01: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
48504ffcc9 VFS: Use a lock for zip asset reading.
We can't read multiple at once.
2022-12-30 20:34:52 -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
Unknown W. Brackets
94a7a32234 Debugger: Correct errors in breakpoint create. 2022-12-30 15:07:02 -08:00
Henrik Rydgård
ba2fab5b22
Merge pull request #16677 from unknownbrackets/d3d11-pause
D3D11: Fix Draw state issues on pause screen
2022-12-30 21:51:55 +01:00
Unknown W. Brackets
fdf5fefa91 GPU: Normalize CopyDisplayToOutput across backends. 2022-12-30 12:33:02 -08:00
Unknown W. Brackets
492cf3f123 D3D11: Fix Draw state issues on pause screen. 2022-12-30 12:27:49 -08:00
Henrik Rydgård
492c0b4ab3 Update version number 2022-12-30 13:37:04 +01:00
Henrik Rydgård
545c2a0e25 Update README.md for 1.14.2 2022-12-30 13:17:25 +01:00
Henrik Rydgård
f0148e39d1
Merge pull request #16673 from hrydgard/bluescreen-fix
Show bluescreen properly on memory errors that we failed to ignore.
2022-12-30 13:03:47 +01:00