Georg Lehmann
41baa21f0c
Vulkan: enable VK_EXT_custom_border_color features ( #4116 )
...
* Vulkan: enable VK_EXT_custom_border_color features
radv only create the border color bo if this feature is enabled, so it crashed when creating samplers with custom border colors
Fixes #4072
Fixes #3993
* Address gdkchan's comment
Co-authored-by: Mary <mary@mary.zone>
2022-12-14 20:53:33 -03:00
TSRBerry
6ffbfbdea7
Bsd: Add support for dns_mitm ( #4102 )
...
* bsd: Add dns_mitm from Atmosphère
related AMS files:
- https://github.com/Atmosphere-NX/Atmosphere/blob/master/stratosphere/ams_mitm/source/dns_mitm/dnsmitm_resolver_impl.cpp
- https://github.com/Atmosphere-NX/Atmosphere/blob/master/stratosphere/ams_mitm/source/dns_mitm/dnsmitm_host_redirection.cpp
* Remove debug logging and adjust redirect message
* Improve formatting
Co-authored-by: Ac_K <Acoustik666@gmail.com>
* Replace Initialize with instance property
* bsd: dns_mitm - Ignore empty lines
* bsd: Mark _mitmHostEntries as readonly
* bsd: Initialize Aliases when returning IpHostEntry
Fixes NullReferenceException
Co-authored-by: Ac_K <Acoustik666@gmail.com>
2022-12-12 18:04:08 +01:00
Mary-nyan
01c162cb5f
misc: Update to Ryujinx.Graphics.Nvdec.Dependencies 5.0.1-build13 ( #4097 )
...
Fix packaging issues on macOS related to an unsatisfied dependency on libX11
2022-12-12 16:19:46 +01:00
Andrey Sukharev
efbbb14e0e
Use NuGet Central Package Management to manage package versions solution-wise ( #4095 )
2022-12-12 16:03:10 +01:00
Mary-nyan
47313a4619
misc: Some fixes to the updaters ( #4092 )
...
This was meant to be only an upgrade of how we set unix permission in
the updater to use .NET 7 new APIs, but I end up finding bugs along the
way.
Changelog:
- Remove direct usage of chmod to use File.SetUnixFileMode.
- Fix command line being broken when updating (#3744 ) but on
Ryujinx.Ava.
- Makes Ryujinx.Ava updater fallback to Ryujinx executable if current
name isn't found.
- Make permission setter function more generic.
2022-12-12 15:17:22 +01:00
&Olga
1fea9fb0fd
Fix "UI" abbreviation being miscapitalized ( #4093 )
2022-12-12 15:11:55 +01:00
Andrey Sukharev
1b2b890db6
Use method overloads that support trimming. Mark some types to be trimming friendly ( #4083 )
...
* Use method overloads that support trimming. Mark some types to be trimming friendly
* Use generic version of marshalling method
2022-12-12 15:10:05 +01:00
TSRBerry
ccc8c5b753
Bsd: Implement Select ( #4017 )
...
* bsd: Add gdkchan's Select implementation
Co-authored-by: TSRBerry <20988865+tsrberry@users.noreply.github.com>
* bsd: Fix Select() causing a crash with an ArgumentException
.NET Sockets have to be used for the Select() call
* bsd: Make Select more generic
* bsd: Adjust namespaces and remove unused imports
* bsd: Fix NullReferenceException in Select
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
2022-12-12 14:59:31 +01:00
Mary-nyan
50ff2fcb23
audio: Rewrite SoundIo bindings ( #4088 )
...
* audio: Rewrite SoundIo bindings
This rewrite SoundIo bindings to be safer and not a pedantic autogenerated mess.
* Address comments
* Switch DllImport to LibraryImport
* Address gdkchan's comment
2022-12-11 00:57:01 +01:00
Isaac Marovitz
bbf82b5233
Fix Lambda Explicit Type Specification Warning ( #4090 )
2022-12-10 22:12:51 +01:00
Isaac Marovitz
2fc4326c53
Fix Redundant Qualifer Warnings ( #4091 )
...
* Fix Redundant Qualifer Warnings
* Remove unnecessary using
2022-12-10 21:21:13 +01:00
gdkchan
6a59bde426
Fix HasUnalignedStorageBuffers value when buffers are always unaligned ( #4078 )
2022-12-09 17:41:40 -03:00
Mary
d4390aa663
Add explicit dependency on System.Drawing.Common on Ryujinx.Ava to workaround triming bugs
2022-12-09 20:12:09 +01:00
Mary-nyan
cc7720a3b3
misc: Remove dependency on System.Drawing.Common ( #4082 )
...
We only used it in one spot for DPI scaling factor.
This implements the same behaviour using gdiplus.
This remove 700KB of dependency to download and around 170KB unpacked.
2022-12-09 18:00:53 +01:00
TSRBerry
852d178834
gha: Add concurrency restriction on release workflow ( #4081 )
2022-12-09 16:15:28 +00:00
Mary-nyan
e6c8461549
misc: Update Ryujinx.Graphics.Nvdec.Dependencies to 5.0.1-build12 ( #4080 )
...
This adds support for Linux x64, macOS x64 and macOS arm64.
2022-12-09 15:46:07 +01:00
Ac_K
5cbbf75147
ava: Restyle the Status Bar ( #4048 )
2022-12-09 15:21:54 +01:00
dependabot[bot]
725427c3e1
nuget: bump CommandLineParser from 2.8.0 to 2.9.1 ( #4058 )
...
Bumps [CommandLineParser](https://github.com/commandlineparser/commandline ) from 2.8.0 to 2.9.1.
- [Release notes](https://github.com/commandlineparser/commandline/releases )
- [Changelog](https://github.com/commandlineparser/commandline/blob/master/CHANGELOG.md )
- [Commits](https://github.com/commandlineparser/commandline/compare/2.8.0...v2.9.1 )
---
updated-dependencies:
- dependency-name: CommandLineParser
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-09 14:16:22 +01:00
gdkchan
2f34df47d5
Fix shader FSWZADD instruction ( #4069 )
...
* Fix shader FSWZADD instruction
* Shader cache version bump
2022-12-08 14:08:07 -03:00
gdkchan
822583ebe2
Shader: Implement PrimitiveID ( #4067 )
...
* Shader: Implement PrimitiveID
* Shader cache version bump
2022-12-08 10:55:03 +01:00
IverCoder
3b7b27bfd2
Fix inconsistent capitalization ( #4070 )
2022-12-08 09:32:24 +00:00
Ac_K
41a5feaa92
acc: Stub CheckNetworkServiceAvailabilityAsync ( #4052 )
2022-12-07 23:19:22 +01:00
dependabot[bot]
7f4a274ec6
nuget: bump DynamicData from 7.12.8 to 7.12.11 ( #4059 )
...
Bumps [DynamicData](https://github.com/reactiveui/DynamicData ) from 7.12.8 to 7.12.11.
- [Release notes](https://github.com/reactiveui/DynamicData/releases )
- [Changelog](https://github.com/reactivemarbles/DynamicData/blob/main/ReleaseNotes.md )
- [Commits](https://github.com/reactiveui/DynamicData/compare/7.12.8...7.12.11 )
---
updated-dependencies:
- dependency-name: DynamicData
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-07 23:07:23 +01:00
dependabot[bot]
605047fe7e
nuget: bump NUnit from 3.12.0 to 3.13.3 ( #4060 )
...
Bumps [NUnit](https://github.com/nunit/nunit ) from 3.12.0 to 3.13.3.
- [Release notes](https://github.com/nunit/nunit/releases )
- [Changelog](https://github.com/nunit/nunit/blob/v3.13.3/CHANGES.md )
- [Commits](https://github.com/nunit/nunit/compare/v3.12...v3.13.3 )
---
updated-dependencies:
- dependency-name: NUnit
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-07 22:02:31 +01:00
TSRBerry
6927022776
Add Ryujinx license file to builds ( #4057 )
2022-12-07 18:20:18 +01:00
dependabot[bot]
3ab8a7e10b
nuget: bump System.Drawing.Common from 6.0.0 to 7.0.0 ( #4024 )
...
Bumps [System.Drawing.Common](https://github.com/dotnet/runtime ) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/dotnet/runtime/releases )
- [Commits](https://github.com/dotnet/runtime/compare/v6.0.0...v7.0.0 )
---
updated-dependencies:
- dependency-name: System.Drawing.Common
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-07 16:24:34 +00:00
Ac_K
e6535402a9
hle: Do not add disabled AoC item to the list ( #4044 )
...
* hle: Do not add disabled AoC item to the list
We currently add all AoC items to a list in `ContentManager` and the enable check is only done when FS service ask for the data. Which is wrong. It causes an issue in MK8D which doesn't boot even if you have disabled a not updated DLC.
I've fixed it by not adding the disabled AoC item to the list, I've removed some duplicate code too.
There is still an edge case because we currently don't check the AoC Item version, but that should be fixed later since now MK8D throw an error if the DLC isn't updated.
* remove useless "enabled"
2022-12-07 15:00:28 +01:00
Isaac Marovitz
478342b56c
Fix struct layout packing ( #4039 )
2022-12-07 02:04:01 +00:00
Ac_K
1c48550712
gtk: Fixes warnings about obsolete components ( #4049 )
...
* gtk: Fixes warnings about obsolete components
* remove wrong using
2022-12-07 01:49:37 +01:00
riperiperi
6405a7fa4d
Shader: Add fallback for LDG from "ube" buffer ranges. ( #4027 )
...
We have a conversion from LDG on the compute shader to a special constant buffer binding that's used to exceed hardware limits on compute, but it was only running if the byte offset could be identified. The fallback that checks all of the bindings at runtime only checks the storage buffers.
This PR adds checking ube ranges to the LoadGlobal fallback. This extends the changes in #4011 to only check ube entries which are accessed by the shader.
Fixes particles affected by the wind in The Legend of Zelda: Breath of the Wild. May fix other weird issues with compute shaders in some games.
Try a bunch of games and drivers to make sure they don't blow up loading constants willynilly from searchable buffers.
2022-12-06 23:15:44 +00:00
riperiperi
d25a5ea1c8
UI: Add Metal surface creation for MoltenVK ( #3980 )
...
* Initial implementation of metal surface across UIs
* Fix SDL2 on windows
* Update Ryujinx/Ryujinx.csproj
Co-authored-by: Mary-nyan <thog@protonmail.com>
* Address Feedback
Co-authored-by: Mary-nyan <thog@protonmail.com>
2022-12-06 19:00:25 -03:00
dependabot[bot]
69970ddafc
nuget: bump XamlNameReferenceGenerator from 1.4.2 to 1.5.1 ( #4026 )
...
Bumps [XamlNameReferenceGenerator](https://github.com/avaloniaui/Avalonia.NameGenerator ) from 1.4.2 to 1.5.1.
- [Release notes](https://github.com/avaloniaui/Avalonia.NameGenerator/releases )
- [Commits](https://github.com/avaloniaui/Avalonia.NameGenerator/compare/1.4.2...1.5.1 )
---
updated-dependencies:
- dependency-name: XamlNameReferenceGenerator
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 19:00:08 +01:00
dependabot[bot]
ae36eaf7ce
nuget: bump System.IdentityModel.Tokens.Jwt from 6.25.0 to 6.25.1 ( #4043 )
...
Bumps [System.IdentityModel.Tokens.Jwt](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet ) from 6.25.0 to 6.25.1.
- [Release notes](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/releases )
- [Changelog](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/blob/dev/CHANGELOG.md )
- [Commits](https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/compare/6.25.0...6.25.1 )
---
updated-dependencies:
- dependency-name: System.IdentityModel.Tokens.Jwt
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 18:01:21 +01:00
Ac_K
8dca786d28
ava: Cleanup Input classes ( #4042 )
...
* ava: Cleanup Input classes
This PR just cleanup all Input classes for consistencies.
* Addresses TSRBerry's feedback
2022-12-06 15:32:14 +00:00
Mary-nyan
962e999232
amadeus: Add missing compressor effect from REV11 ( #4010 )
...
* amadeus: Add missing compressor effect from REV11
This was in my reversing notes but seems I completely forgot to
implement it
Also took the opportunity to simplify the Limiter effect a bit.
* Remove some outdated comment
* Address gdkchan's comments
2022-12-06 15:04:25 +01:00
gdkchan
f010127b29
Fix storage buffer access when match fails ( #4037 )
...
* Fix storage buffer access when match fails
* Shader cache version bump
2022-12-06 03:36:54 +00:00
MetrosexualGarbodor
2fe29671cb
Change default Vsync toggle hotkey to F1 instead of Tab ( #3995 )
2022-12-06 02:09:26 +00:00
dependabot[bot]
3de1a4e893
nuget: bump Microsoft.CodeAnalysis.CSharp from 4.2.0 to 4.4.0 ( #4025 )
...
Bumps [Microsoft.CodeAnalysis.CSharp](https://github.com/dotnet/roslyn ) from 4.2.0 to 4.4.0.
- [Release notes](https://github.com/dotnet/roslyn/releases )
- [Changelog](https://github.com/dotnet/roslyn/blob/main/docs/Breaking%20API%20Changes.md )
- [Commits](https://github.com/dotnet/roslyn/compare/v4.2.0...Visual-Studio-2019-Version-16.0-Preview-4.4 )
---
updated-dependencies:
- dependency-name: Microsoft.CodeAnalysis.CSharp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 01:51:33 +00:00
Isaac Marovitz
1a79a0554d
Fix Sorting Regression ( #4032 )
...
* Fix sorting regression + Remove unsued sort
* Fix GTK
* Attempt 2 to fix GTK
* Whoopsie
* Fix whitspace
2022-12-06 01:40:06 +00:00
gdkchan
da3508b93a
Fix shaders with global memory access from unknown locations ( #4029 )
...
* Fix shaders with global memory access from unknown locations
* Shader cache version bump
2022-12-06 01:09:24 +00:00
Andrew Glaze
294a798a95
Update 'OpenGL Log Level' to 'Graphics Backend Log Level' ( #3996 )
...
* Update 'OpenGL Log Level' to 'Graphics Backend Log Level'
* update other locals and change keys
2022-12-06 00:48:41 +00:00
Isaac Marovitz
a1bd580153
Ava GUI: Several UI Fixes ( #3991 )
...
* Fix accessability violations in ListView
* Use accent colour for favourite star
* Hide progress bar when its done
* App Data Formating
- Added space before storage unit
- Changed so minutes have 0 decimals, and hours and days have 1
* Fix theming
* Fix mismatched corner radius
* Fix acceability violations in GridView
* More consistency between Grid and List View
* Fix margin
* Let whitespace defocus controls
2022-12-05 22:04:18 +00:00
gdkchan
6744dbd220
Restrict shader storage buffer search when match fails ( #4011 )
...
* Restrict storage buffer search when match fails
* Shader cache version bump
2022-12-05 19:11:32 +00:00
Andrey Sukharev
5d7b99ac39
Make structs readonly when applicable ( #4002 )
...
* Make all structs readonly when applicable. It should reduce amount of needless defensive copies
* Make structs with trivial boilerplate equality code record structs
* Remove unnecessary readonly modifiers from TextureCreateInfo
* Make BitMap structs readonly too
2022-12-05 14:47:39 +01:00
Mary-nyan
0114261fbf
misc: Fix obsolete warnings in Ryujinx.Graphics.Vulkan ( #4020 )
...
Was caused by some merges after the Silk.NET update
2022-12-05 12:57:11 +00:00
dependabot[bot]
59b04d55dd
nuget: bump Microsoft.NET.Test.Sdk from 16.8.0 to 17.4.0 ( #3900 )
...
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest ) from 16.8.0 to 17.4.0.
- [Release notes](https://github.com/microsoft/vstest/releases )
- [Commits](https://github.com/microsoft/vstest/compare/v16.8.0...v17.4.0 )
---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-05 08:17:40 +01:00
Shane Slattery
4a434c0105
Add InfoType.MesosphereCurrentProcess ( #3792 )
...
* Add InfoType.MesosphereCurrentProcess
* Make outHandle inlined
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
2022-12-04 19:46:02 +00:00
Ethan Page
23a4ada712
ui: Disallow checking for updates while emulation active ( #3886 )
...
* Disallow updating while game is running
* Reflected change on Avalonia
* Git has gone wonky
* Fix accidental indent
2022-12-04 20:17:11 +01:00
gdkchan
800dae50e5
Allow SNorm buffer texture formats on Vulkan ( #3957 )
...
* Allow SNorm buffer texture formats on Vulkan
* Shader cache version bump
2022-12-04 15:36:03 -03:00
gdkchan
95680bd4d2
Implement non-MS to MS copies with draws ( #3958 )
...
* Implement non-MS to MS copies with draws, simplify MS to non-MS copies and supports any host sample count
* Remove unused program
2022-12-04 15:07:11 -03:00