Henrik Rydgård
781374190c
Merge pull request #16794 from hrydgard/remove-android-resolution-selector
...
Remove the Android display resolution selector
2023-01-12 08:09:03 +01:00
Henrik Rydgård
6dc930feb7
Merge pull request #16796 from unknownbrackets/icache-typo
...
jit: Fix reporting of icache invalidate near PC
2023-01-12 07:30:24 +01:00
Unknown W. Brackets
8341b09087
jit: Fix reporting of icache invalidate near PC.
...
Reversed the check, that's what I get for not testing it.
2023-01-11 20:22:09 -08:00
Henrik Rydgård
0bc7854062
Android: Don't assert on failed Find4GBBase
2023-01-12 01:18:52 +01:00
Henrik Rydgård
ea0eaa31e6
Remove the Android display resolution selector
...
I think its benefit is absolutely tiny if any, and causes a lot more
problems than it's worth. Bye.
Note that this isn't the rendering resolution selector, that will of
course still be there, but it's the "hardware scaler" resolution.
2023-01-11 22:53:42 +01:00
Henrik Rydgård
edaa5246d1
Merge pull request #16771 from hrydgard/more-getpointer-cleanup
...
Core: A bit more GetPointer cleanup.
2023-01-10 14:36:08 +01:00
Henrik Rydgård
384cd91400
Merge pull request #16309 from sum2012/InterruptManagerForKernel-minror
...
Add InterruptManagerForKernel
2023-01-10 14:00:09 +01:00
Henrik Rydgård
e1a48d74c4
A bit more GetPointer cleanup.
...
Probably not worth it for performance reasons, but some semantic cleanup
is good, especially the accidental GetPointer -> writable casts without
using GetPointerWrite.
Using Unchecked on already checked pointers, or when we'd crash anyway
if it returned nullptr, is good for clarity.
2023-01-10 12:13:47 +01:00
Henrik Rydgård
70e149e3ca
Merge pull request #16720 from hrydgard/remove-input-return-values
...
Remove return values from Axis and Touch input functions
2023-01-10 11:09:55 +01:00
Henrik Rydgård
bef50f9fdd
Merge pull request #16763 from hrydgard/texalpha-shaderflag
...
Shader generator: Move FS_TEX_ALPHA to a uniform bool.
2023-01-10 11:09:25 +01:00
Henrik Rydgård
00c44ea799
Get rid of the bool, not worth it.
2023-01-10 10:23:29 +01:00
sum2012
2d8aaaac5e
Change to if (!heap) first in all function
...
As unknown feedback 2
2023-01-10 10:22:59 +01:00
sum2012
57c474cce7
Add 2 nids of SysMemForKernel
...
Find in #16297
Address unknown feedback 1
2023-01-10 10:18:36 +01:00
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