Commit Graph
39166 Commits
Author SHA1 Message Date
Henrik Rydgård 0f4f9997fd Update version number v1.14.3 2023-01-02 10:19:53 +01:00
Unknown W. Brackets 7c099dc764 Debugger: Allow copy of byte range from memview. 2023-01-01 23:02:12 -08:00
Unknown W. Brackets bba748d627 Debugger: Handle memview select right click better.
Shouldn't reset if you click inside.  Also should basically ignore
modifiers, that's how it normally behaves.
2023-01-01 22:49:04 -08:00
Unknown W. Brackets a7101b128f Debugger: Allow memview select with keyboard. 2023-01-01 22:37:53 -08:00
Unknown W. Brackets f66818ba80 Debugger: Allow selecting a range in memory view. 2023-01-01 22:28:29 -08:00
Unknown W. Brackets f8064c6763 Debugger: Cleanup memview members.
Was fairly inconsistent.  This code has not changed a lot in a long time,
so let's just do a single cleanup pass before some changes.
2023-01-01 21:47:39 -08: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 30c591e813 Fix smooth touchpad scrolling on Windows
Forgot that I had half-implemented it but not finished it up..
2023-01-01 22:23:14 +01: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 700a018ef0 IRInterpreter: Use alignment as access size in exceptions 2023-01-01 20:48:16 +01:00
Henrik Rydgård 91b7bf986e Can do an unchecked GetPointer here 2023-01-01 20:48:03 +01: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 ee997d1353 Account for the GPU cycle cost of loading bone matrices.
This could change timing slightly in games that use many of these, like
maybe God of War for example. We should probably get it in for 1.15 and
just handle any fallout.
2023-01-01 20:35:04 +01:00
Henrik Rydgård aa80659530 Memory exception: Add facility to track size
Might theoretically help in tracking some things down.

Not fully utilized yet, the fault handler needs to extract the
information from the faulting instruction. But we can use it for
GetPointerRange etc.
2023-01-01 20:30:29 +01:00
Unknown W. Brackets 728dde8eb3 Cheats: Cleanup sizes of invalidates and checks.
And ensure we're always invalidating full words to be safe.
2023-01-01 10:30:47 -08:00
Unknown W. Brackets cee8bfd5cf riscv: Avoid a jit warning.
We'll end up doing the same as arm64, most likely.
2023-01-01 10:28:54 -08:00
Unknown W. Brackets 87aa4e127c Build: Update to glslang v11.13.0, use upstream.
This switches the submodule origin.
2023-01-01 10:28:53 -08:00
Unknown W. Brackets 77849d3eed riscv: Add disassembler.
From https://github.com/anthony-coulter/riscv-disassembler.
Modified slightly to pull in less headers in the h, prefix funcs.
2023-01-01 10:28:53 -08: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
Unknown W. Brackets 7ed238a0b7 Font: Avoid late load on save state.
If they weren't loaded yet, we can stay that way.
2023-01-01 10:25:05 -08:00
Unknown W. Brackets 3ce2c4b380 Vulkan: Update headers to 1.3.236. 2023-01-01 10:21:17 -08:00
Unknown W. Brackets 9434df1968 Build: Update to SPIRV-Cross sdk-1.3.236.0. 2023-01-01 10:21:16 -08: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