Henrik Rydgård
07114c6aaf
Remove return value from axis functions in API
2023-01-10 10:12:37 +01:00
Unknown W. Brackets
dea9cac16c
Core: Add range checks to some helpers and similar.
2023-01-09 16:56:18 -08:00
Unknown W. Brackets
e9ce0d0b5e
HLE: Add size checks to replace funcs.
2023-01-09 16:53:25 -08:00
Unknown W. Brackets
c44d787df4
Mpeg: Check memory access range on GetPointer().
2023-01-09 16:53:10 -08:00
sum2012
d02a79400d
Trying to improve sceMpegAvcDecode
...
Close #16727
2023-01-09 21:41:57 +08:00
Henrik Rydgård
51e440e78e
Merge pull request #16751 from unknownbrackets/headless-leaks
...
Fix a few leaks detected in headless
2023-01-08 12:35:32 +01:00
Unknown W. Brackets
68cfaf90ad
Mpeg: Move some fields to private.
2023-01-07 06:54:25 -08:00
Unknown W. Brackets
94bab4506f
Mpeg: Close codecs from new streams.
...
These were actually leaking.
2023-01-07 06:44:02 -08:00
Unknown W. Brackets
1f66c1d689
jit: Also report invalidation near PC.
2023-01-06 19:51:43 -08:00
Unknown W. Brackets
b073d3e207
jit: Report unaligned icache invalidations.
...
And over invalidate them a bit.
2023-01-06 19:46:43 -08:00
Henrik Rydgård
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ård
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ård
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ård
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ård
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ård
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ård
830f1064e6
Merge pull request #16676 from unknownbrackets/riscv-disasm
...
Add disassembler for RISC-V
2023-01-04 09:52:56 +01:00
Henrik Rydgård
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å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
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