1
0
forked from MeloNX/MeloNX

3223 Commits

Author SHA1 Message Date
Gabriel A
2df861c860 Relax lock usage in attempt to fix a deadlock 2024-01-21 21:51:58 +00:00
riperiperi
bb4e79ef3b Port of texture memory pool PR 2024-01-12 17:56:48 +00:00
riperiperi
1f11dfd56a fix: fix UnmapView 2024-01-09 00:17:31 +00:00
riperiperi
70a8b93c8a Merge remote-tracking branch 'gdk/new-jit-ht' into ios-ht 2024-01-07 23:30:13 +00:00
riperiperi
1578435ab1 get updates and dlc from documents on ios 2024-01-07 22:39:59 +00:00
riperiperi
ceebb1cca3 add sample delay for audout 2024-01-07 22:39:34 +00:00
Gabriel A
14eef0a1b1 Avoid double lookup on TryGetVirtualContiguous, fix/change some lock usage 2024-01-07 17:49:36 -03:00
riperiperi
f4705f63d6 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
36f2fb4e18 16k external flush workaround 2024-01-06 20:16:01 +00:00
riperiperi
1fda80f72e feat: avoid filling pages when using private allocations 2024-01-06 20:15:15 +00:00
riperiperi
878a8cd2f9 fix shared memory thread safety 2024-01-06 20:13:06 +00:00
riperiperi
a539dc62b4 fix jit 2024-01-06 20:12:42 +00:00
Gabriel A
ec2247d73b Fix potential race + wrong check for partition not being found 2024-01-04 23:51:33 +00:00
Gabriel A
b6a85592cc Fix potential race + wrong check for partition not being found 2024-01-04 20:48:53 -03:00
riperiperi
17fdbb57c0 Merge remote-tracking branch 'gdk/new-jit-ht' into ios-ht 2024-01-04 21:35:33 +00:00
Gabriel A
8efd17d371 Only for 64-bit games (for now?) 2024-01-04 18:22:06 -03:00
Gabriel A
48e4bdb1ce Host tracked needs signal handling too 2024-01-04 18:04:51 -03:00
Gabriel A
237343ace4 Support host tracked on LightningJit 2024-01-04 18:00:59 -03:00
Gabriel A
ac60e0c8a7 Pass memory manager type around 2024-01-04 18:00:49 -03:00
Gabriel A
228cbfc4fd Merge branch 'host-tracked-clean' into new-jit-ht 2024-01-04 18:00:35 -03:00
Gabriel A
2caf8f850b Format whitespace 2024-01-04 18:00:31 -03:00
Gabriel A
a72eb91cfa Fix assert 2024-01-04 18:00:31 -03:00
Gabriel A
21a6f53782 Remove unused using 2024-01-04 18:00:31 -03:00
Gabriel A
2cb244ddbe New JIT cache for platforms that enforce W^X, currently unused 2024-01-04 18:00:31 -03:00
Gabriel A
41fb24ef78 ObjectDisposedException.ThrowIf 2024-01-04 18:00:31 -03:00
Gabriel A
0eecf142de Fix more warnings 2024-01-04 18:00:30 -03:00
Gabriel A
e4a81e78f6 More read-only 2024-01-04 18:00:30 -03:00
Gabriel A
2bc171cab7 Make a lot of Assembler members read-only 2024-01-04 18:00:30 -03:00
Gabriel A
6a3e0e9f45 Auto-format 2024-01-04 18:00:30 -03:00
Gabriel A
0a30ad420a Implement a new JIT for Arm devices 2024-01-04 18:00:30 -03:00
Gabriel A
2f95591fa6 Add host tracked memory manager mode (experimental) 2024-01-04 17:07:04 -03:00
gdkchan
647fc25d63 Fix PPTC version string for firmware titles (#6071) 2024-01-04 00:08:10 +01:00
gdkchan
16e23988d1 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
a26ada036c 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
24772d6e70 update rd 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
b3fbf8ea26 use compiled binding for controller view 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
f20add3139 update rd file and reenable json reflection serialization 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
df2274391f clean up rd file 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
db2019d64b set invariant globalization to false, fix profile selector 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
85d879c37a add aot optmization option 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
550b9dc854 disable macrojit 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
a9a8b1403e use avalonia bitmap to load image for loading screen 2023-12-31 19:07:38 +00:00
Emmanuel Hansen
6b5c342534 wip 2023-12-31 19:07:37 +00:00
Emmanuel Hansen
c3179f6a61 simplify assembly access in application library class 2023-12-31 19:07:37 +00:00
Emmanuel Hansen
5941bcbf80 add rd file 2023-12-31 19:07:35 +00:00
Emmanuel Hansen
784438999c make applet manager reflection free 2023-12-31 19:00:41 +00:00
gdk
eb4af14d51 Make GetFunctionPointerForDelegate as explicit as possible 2023-12-31 19:00:41 +00:00
Emmanuel Hansen
aa7c6f160e remove usage of reflection in device state 2023-12-31 19:00:39 +00:00
Emmanuel Hansen
10db751297 add hle service generator 2023-12-31 18:59:42 +00:00
AxesP
0336a6f20d Local Amiibo.json should be used if connection failed (#3681)
* Local Amiibo.json should be used if connection failed

Currently Ryujinx is not loading any Amiibo if connection fails, even if the Amiibo.json exists.
This fix will use the local file and show a Dialog if connection fails.

* using local Amiibo.json & fixed Amiibo.json date comparison

Using local Amiibo.json when connection fails and comparison without milliseconds for LastModified that comes from https://amiibo.ryujinx.org/ and the local one (The JSON file has milliseconds on it, those will cause an error when comparing the date from the header because the header one doesn't has milliseconds on it). Both changes made for Avalonia UI.

* Fixed date comparison

Same date comparison fix, but made for normal UI (Not for AvaloniaUI).
This error can be prevented if the file in https://amiibo.ryujinx.org/ did not have the date with milliseconds.

* Securely trying to get a list of Amiibo (For normal UI)

* Securely trying to get a list of Amiibo (Change for AvaloniaUI)

* Date comparison reverted

* Apply suggestions from code review

* Use fallback amiibo.json if remote file is not valid (Normal UI)

* Use fallback amiibo.json if remote file is not valid (Avalonia UI)

* Code styles corrected.

* Code styles corrected in AmiiboWindowViewModel.

* Readded Ryujinx.Common.Logging using.

* Fixed using order.

---------

Co-authored-by: Ac_K <Acoustik666@gmail.com>
2023-12-28 02:43:17 +01:00