From 7c8245679c3e920436d46bc26166403a0619dd25 Mon Sep 17 00:00:00 2001 From: sunshineinabox Date: Sun, 4 Feb 2024 22:48:42 -0800 Subject: [PATCH] Fix some whitespace formatting issues and remove some stragglers --- src/Ryujinx.Ava/UI/ViewModels/SettingsViewModel.cs | 4 +--- src/Ryujinx.Common/Configuration/ShadingLanguage.cs | 2 +- src/Ryujinx.Ui.Common/Configuration/ConfigurationState.cs | 4 ++-- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/Ryujinx.Ava/UI/ViewModels/SettingsViewModel.cs b/src/Ryujinx.Ava/UI/ViewModels/SettingsViewModel.cs index c52473c0f..f1de0e9c1 100644 --- a/src/Ryujinx.Ava/UI/ViewModels/SettingsViewModel.cs +++ b/src/Ryujinx.Ava/UI/ViewModels/SettingsViewModel.cs @@ -203,7 +203,7 @@ namespace Ryujinx.Ava.UI.ViewModels OnPropertyChanged(nameof(IsOpenGLSelected)); } } - + public int ShadingLangugeIndex { get => _shadinglanguageBackendIndex; @@ -250,7 +250,6 @@ namespace Ryujinx.Ava.UI.ViewModels internal AvaloniaList TimeZones { get; set; } public AvaloniaList GameDirectories { get; set; } public ObservableCollection AvailableGpus { get; set; } - //public ObservableCollection ShadingLanguage { get; set; } public AvaloniaList NetworkInterfaceList { @@ -308,7 +307,6 @@ namespace Ryujinx.Ava.UI.ViewModels GameDirectories = new AvaloniaList(); TimeZones = new AvaloniaList(); AvailableGpus = new ObservableCollection(); - //ShadingLanguage = new ObservableCollection(); _validTzRegions = new List(); _networkInterfaces = new Dictionary(); diff --git a/src/Ryujinx.Common/Configuration/ShadingLanguage.cs b/src/Ryujinx.Common/Configuration/ShadingLanguage.cs index 01880b094..8c9829cce 100644 --- a/src/Ryujinx.Common/Configuration/ShadingLanguage.cs +++ b/src/Ryujinx.Common/Configuration/ShadingLanguage.cs @@ -1,4 +1,4 @@ -using Ryujinx.Common.Utilities; +using Ryujinx.Common.Utilities; using System.Text.Json.Serialization; namespace Ryujinx.Common.Configuration diff --git a/src/Ryujinx.Ui.Common/Configuration/ConfigurationState.cs b/src/Ryujinx.Ui.Common/Configuration/ConfigurationState.cs index a3821384a..924ca7315 100644 --- a/src/Ryujinx.Ui.Common/Configuration/ConfigurationState.cs +++ b/src/Ryujinx.Ui.Common/Configuration/ConfigurationState.cs @@ -501,7 +501,7 @@ namespace Ryujinx.Ui.Common.Configuration /// Graphics backend /// public ReactiveObject GraphicsBackend { get; private set; } - + /// /// Graphics backend /// @@ -1572,7 +1572,7 @@ namespace Ryujinx.Ui.Common.Configuration return GraphicsBackend.OpenGl; } - + private static ShadingLanguage DefaultShadingLanguge() { // Any system running macOS or returning any amount of valid Vulkan devices should default to Vulkan.