Commit Graph
11674 Commits
Author SHA1 Message Date
Henrik RydgårdandGitHub 3bb260784c Merge pull request #16725 from hrydgard/windows-ui-refresh-rate
Windows: Adjust window sleep interval in idle menus to refresh rate
2023-01-05 13:26:27 +01:00
Henrik RydgårdandGitHub 5b9fe287f7 Merge pull request #16732 from unknownbrackets/debugger
Debugger: Make sure we don't restore twice
2023-01-05 10:14:27 +01:00
Unknown W. Brackets 5b74937780 Debugger: Make sure we don't restore twice.
Aside from the lock, we also don't want to restore emuhacks/replacements
or resume from stepping early.
2023-01-04 23:48:14 -08:00
Henrik Rydgård 7e374c9324 Address feedback, more fixes 2023-01-05 08:38:53 +01:00
Henrik Rydgård b56eef487c Strict mode checking - no way to forget detaching now.
And if we forget to attach, boom. Hopefully I caught all of them.
2023-01-05 08:38:52 +01:00
Henrik Rydgård 916404f0e4 Try to get a bit better at detaching threads that have used JNI from the VM. 2023-01-05 08:38:49 +01:00
Henrik RydgårdandGitHub 5186158a93 Merge pull request #16729 from unknownbrackets/debugger
Debugger: Fix mem lock with optimizations disabled
2023-01-05 08:32:28 +01:00
Unknown W. Brackets 40cab56bb9 UI: Prevent crash installing second game quickly. 2023-01-04 22:42:12 -08:00
Unknown W. Brackets fb13dbf169 riscv: Correct type warning, oops. 2023-01-04 21:42:22 -08:00
Unknown W. Brackets a937e5dce3 Debugger: Fix mem lock with optimizations disabled. 2023-01-04 21:41:59 -08:00
Henrik Rydgård e37be42a6c Windows: Adjust window sleep interval in idle menus to refresh rate
For smoother scroll animations if you have a high refresh rate monitor.
2023-01-04 16:33:00 +01:00
Henrik Rydgård 14bd411036 Round addr to nearest cacheline when invalidating 2023-01-04 11:40:53 +01:00
Henrik RydgårdandGitHub 4478999124 Merge pull request #16497 from unknownbrackets/cheat-invalidate
Cheats: Cleanup sizes of invalidates and checks
2023-01-04 11:21:38 +01:00
Henrik RydgårdandGitHub 97880e32a9 Merge pull request #16707 from unknownbrackets/reporting-homebrew
Reporting: Send game ELF crc with reports
2023-01-04 10:25:53 +01:00
Henrik RydgårdandGitHub fa22ec575d Merge pull request #16610 from unknownbrackets/state-fonts
Font: Avoid late load on save state
2023-01-04 10:25:40 +01:00
Henrik RydgårdandGitHub 830f1064e6 Merge pull request #16676 from unknownbrackets/riscv-disasm
Add disassembler for RISC-V
2023-01-04 09:52:56 +01:00
Henrik RydgårdandGitHub 0076897035 Merge pull request #16695 from hrydgard/memory-exception-report-size
Memory exceptions: Keep track of access size
2023-01-04 09:52:35 +01:00
Henrik Rydgård fd7cc76d95 Remove unnecessary savedata version reporting 2023-01-02 23:22:54 +01:00
Unknown W. Brackets 6d9d517700 Reporting: Send game ELF crc with reports.
Getting a lot of spam from homebrew with different IDs that appear to be
the same actual homebrew, in part from ID generation.
2023-01-02 12:23:05 -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 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 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årdandGitHub 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
Henrik RydgårdandGitHub 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årdandGitHub 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årdandGitHub 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årdandGitHub 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årdandGitHub 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årdandGitHub 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årdandGitHub 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