3177 Commits

Author SHA1 Message Date
riperiperi
a1cb1dfdc9 Use 4kb HT on 32-bit 2024-01-21 22:22:11 +00:00
riperiperi
c97686924b Temporary force to 4k 2024-01-21 21:52:56 +00:00
riperiperi
10ee46744b avoid allocations when doing address space lookup 2024-01-21 21:52:31 +00:00
Gabriel A
f16abe6dac Experimental 4KB tracking mode 2024-01-21 21:52:09 +00:00
Gabriel A
87b314a7ca Relax lock usage in attempt to fix a deadlock 2024-01-21 21:51:58 +00:00
riperiperi
092af4585c Port of texture memory pool PR 2024-01-12 17:56:48 +00:00
riperiperi
e9abc7e59e fix: fix UnmapView 2024-01-09 00:17:31 +00:00
riperiperi
19d6bddc25 Merge remote-tracking branch 'gdk/new-jit-ht' into ios-ht 2024-01-07 23:30:13 +00:00
riperiperi
57949d03e5 get updates and dlc from documents on ios 2024-01-07 22:39:59 +00:00
riperiperi
3cd42f99aa add sample delay for audout 2024-01-07 22:39:34 +00:00
Gabriel A
87ba82691c Avoid double lookup on TryGetVirtualContiguous, fix/change some lock usage 2024-01-07 17:49:36 -03:00
riperiperi
60442064e4 Audio: Add optional artificial audio delay layer
This driver runs ahead by the given duration (measured in samples at 48000hz). For games that rely on buffer release feedback to know when to provide audio frames, this can trick them into running with a higher audio latency on platforms that require it to avoid stuttering.

See `Switch.cs` for the sampleDelay definition. It's currently 0, though in future it could be configurable or switch on automatically for certain configurations.

For audio sources that _do not_ care about sample release timing, such as the current AudioRenderer, this will not change their behaviour.
2024-01-06 20:17:06 +00:00
riperiperi
7ac6b8e742 16k external flush workaround 2024-01-06 20:16:01 +00:00
riperiperi
6334c3f90c feat: avoid filling pages when using private allocations 2024-01-06 20:15:15 +00:00
riperiperi
e9ab106f8f fix shared memory thread safety 2024-01-06 20:13:06 +00:00
riperiperi
2bbf829a09 fix jit 2024-01-06 20:12:42 +00:00
Gabriel A
c47ce6f697 Fix potential race + wrong check for partition not being found 2024-01-04 23:51:33 +00:00
Gabriel A
942efbb6d6 Fix potential race + wrong check for partition not being found 2024-01-04 20:48:53 -03:00
riperiperi
afcfba498c Merge remote-tracking branch 'gdk/new-jit-ht' into ios-ht 2024-01-04 21:35:33 +00:00
Gabriel A
df92f2052a Only for 64-bit games (for now?) 2024-01-04 18:22:06 -03:00
Gabriel A
85f83592c7 Host tracked needs signal handling too 2024-01-04 18:04:51 -03:00
Gabriel A
2feecd05a3 Support host tracked on LightningJit 2024-01-04 18:00:59 -03:00
Gabriel A
98c16ed3b0 Pass memory manager type around 2024-01-04 18:00:49 -03:00
Gabriel A
133f7d10de Merge branch 'host-tracked-clean' into new-jit-ht 2024-01-04 18:00:35 -03:00
Gabriel A
cabf434c5f Format whitespace 2024-01-04 18:00:31 -03:00
Gabriel A
f9ed8f860e Fix assert 2024-01-04 18:00:31 -03:00
Gabriel A
5cc0b317f9 Remove unused using 2024-01-04 18:00:31 -03:00
Gabriel A
acc22c769d New JIT cache for platforms that enforce W^X, currently unused 2024-01-04 18:00:31 -03:00
Gabriel A
94bd78f48a ObjectDisposedException.ThrowIf 2024-01-04 18:00:31 -03:00
Gabriel A
689eadaece Fix more warnings 2024-01-04 18:00:30 -03:00
Gabriel A
339d9ca83d More read-only 2024-01-04 18:00:30 -03:00
Gabriel A
1251f03575 Make a lot of Assembler members read-only 2024-01-04 18:00:30 -03:00
Gabriel A
5b6893b1ed Auto-format 2024-01-04 18:00:30 -03:00
Gabriel A
cee2e2f600 Implement a new JIT for Arm devices 2024-01-04 18:00:30 -03:00
Gabriel A
ffdb90a1f4 Add host tracked memory manager mode (experimental) 2024-01-04 17:07:04 -03:00
gdkchan
59a0c7cfd8
Fix PPTC version string for firmware titles (#6071) 2024-01-04 00:08:10 +01:00
gdkchan
6f50b9bdb0
Add support for PermissionLocked attribute added on firmware 17.0.0 (#6072)
* Update MemoryState enum and add new flags

* Add support for new PermissionLocked attribute added on firmware 17.0.0

* Format whitespace
2024-01-04 00:05:14 +01:00
riperiperi
59d6ceb9ee bunch of stuff don't push this monstrosity anywhere
actual stuff don't push this monstrosity anywhere
2023-12-31 19:11:24 +00:00
Emmanuel Hansen
259f5da0fb update rd 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
ab7ebecfc8 use compiled binding for controller view 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
6b2f1b7d4f update rd file and reenable json reflection serialization 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
5bb1c40e99 clean up rd file 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
3ba86e1fa9 set invariant globalization to false, fix profile selector 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
84dab5f717 add aot optmization option 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
344817cb54 disable macrojit 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
3f57753af0 use avalonia bitmap to load image for loading screen 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
38b8b44c60 wip 2023-12-31 19:07:37 +00:00
Emmanuel Hansen
6a28c20862 simplify assembly access in application library class 2023-12-31 19:07:37 +00:00
Emmanuel Hansen
7c0182ec8b add rd file 2023-12-31 19:07:35 +00:00
Emmanuel Hansen
c0e12fda94 make applet manager reflection free 2023-12-31 19:00:41 +00:00