1
0
forked from MeloNX/MeloNX

3737 Commits

Author SHA1 Message Date
gdkchan
edc76883db
Fix integer overflow on downsample surround to stereo (#6160) 2024-01-21 21:11:46 +01:00
gdkchan
427b7d06b5
Implement a new JIT for Arm devices (#6057)
* Implement a new JIT for Arm devices

* Auto-format

* Make a lot of Assembler members read-only

* More read-only

* Fix more warnings

* ObjectDisposedException.ThrowIf

* New JIT cache for platforms that enforce W^X, currently unused

* Remove unused using

* Fix assert

* Pass memory manager type around

* Safe memory manager mode support + other improvements

* Actual safe memory manager mode masking support

* PR feedback
2024-01-20 11:11:28 -03:00
riperiperi
331c07807f
Vulkan: Use templates for descriptor updates (#6014)
* WIP: Descriptor template update

* Make configurable

* Wording

* Simplify template creation

* Whitespace

* UTF-8 whatever

* Leave only templated path, better template updater
2024-01-20 11:07:33 -03:00
Steveice10
a772b073ec
Support portable mode using the macOS app bundle. (#6147)
* Support portable mode using the macOS app bundle.

* Apply suggestion

Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>

---------

Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
2024-01-20 03:09:51 +01:00
gdkchan
870d9599cc
Change shader cache init wait method (#6131)
* Change shader cache init wait method

* Make field readonly
2024-01-18 14:17:38 -03:00
gdkchan
2dbbc9bc05
Move most of signal handling to Ryujinx.Cpu project (#6128)
* Move most of signal handling to Ryujinx.Cpu project

* Format whitespace

* Remove unused member

* Format whitespace

* This does not need to be public anymore
2024-01-18 14:08:40 -03:00
Isaac Marovitz
72634c80f4
Ava UI: Update Ava & Friends (#6109)
* Update Ava & Friends

* FA 2.0.5

* Ava 11.0.7

* Fix
2024-01-17 23:50:31 +01:00
riperiperi
bebd8eb822
Vulkan: Cache delegate for EndRenderPass (#6132)
This prevents a small allocation each time this method is called. This is a top 3 SOH allocation during gameplay in most games, and eliminating it is pretty free.
2024-01-16 13:22:20 +01:00
gdkchan
f4b74e9ce1
Fix vertex buffer size when switching between inline and state draw parameters (#6101)
* Fix vertex buffer size when switching between inline and state draw parameters

* Format whitespace
2024-01-14 09:37:19 +01:00
Isaac Marovitz
4e19b36ad7
CI: Dependabot Groups (#6110)
* CI: Dependabot Groups

* NUnit

* Limit of 10

* Whoops

* Missing wildcard

* Remove Ryujank group
2024-01-13 15:28:57 +01:00
gdkchan
b16923a902
Revert Apple hypervisor force ordered memory change (#6068) 2024-01-13 11:58:09 +01:00
TSRBerry
7e58b21f3d
Fix Amiibo regression and some minor code improvements (#6107)
* Remove redundant code and fix small issues

* Log amiibo exceptions

* Add more checks when getting Amiibo data

* Fall back to online data if local file is inaccessible

* Make dotnet format happy
2024-01-13 11:45:38 +01:00
Isaac Marovitz
4fbc978e73
Switch to Microsoft.IdentityModel.JsonWebTokens (#6108)
* Switch to `Microsoft.IdentityModel.JsonWebTokens`

* Formatting
2024-01-13 11:39:00 +01:00
Isaac Marovitz
1a45dc8df8
Ava UI: RTL Language Support (#5619)
* Add Hebrew locale files to ItemGroups

* Align all windows RTL for testing

This should be controlled with a binding that selects the appropriate layout based on current language

* Update FlowDirection as Locale changes

* Fix Settings NavigationViewItem FlowDirection

* Fix remaining text

* Fix input menu directionality

* Fix RTL not rendering

* Fix rebase errors
2024-01-13 01:42:42 +01:00
Isaac Marovitz
f037fcba9a
Ava UI: Better Controller Applet (#5756)
* Start work on better Controller Applet

* Don’t require title

* UI improvements

* Border around TBD area

* Formatting

* Better SVGs

* Add missing margin

* Use Locale

* Rename function

* Make buttons ourselves

* Make the buttons do shit

* Formatting

* Adjust SVGs

* Fix Open Settings Window

* Make field readonly

* Final tweaks

* Update src/Ryujinx.Ava/UI/Applet/AvaHostUiHandler.cs

Co-authored-by: Ac_K <Acoustik666@gmail.com>

* Update src/Ryujinx.Ava/UI/Applet/ControllerAppletDialog.axaml.cs

Co-authored-by: Ac_K <Acoustik666@gmail.com>

* Apply suggestions from code review

Co-authored-by: Ac_K <Acoustik666@gmail.com>

* Update src/Ryujinx.Ava/UI/Applet/ControllerAppletDialog.axaml.cs

Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>

* Move icons to Ava project

* Reorder arguments

* Try to focus Settings Window

* Fix icons

Project shenangians

* Add ContentDialogHelper.ShowWindowAsync method

* Fix closed SettingsWindow reference in MainWindow

* Fix SettingsWindow dialog

* Suggestion

---------

Co-authored-by: Ac_K <Acoustik666@gmail.com>
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
2024-01-13 01:41:57 +01: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