Fix some whitespace formatting issues and remove some stragglers

This commit is contained in:
sunshineinabox 2024-02-04 22:48:42 -08:00
parent 7472630c63
commit 7c8245679c
3 changed files with 4 additions and 6 deletions

View file

@ -203,7 +203,7 @@ namespace Ryujinx.Ava.UI.ViewModels
OnPropertyChanged(nameof(IsOpenGLSelected)); OnPropertyChanged(nameof(IsOpenGLSelected));
} }
} }
public int ShadingLangugeIndex public int ShadingLangugeIndex
{ {
get => _shadinglanguageBackendIndex; get => _shadinglanguageBackendIndex;
@ -250,7 +250,6 @@ namespace Ryujinx.Ava.UI.ViewModels
internal AvaloniaList<TimeZone> TimeZones { get; set; } internal AvaloniaList<TimeZone> TimeZones { get; set; }
public AvaloniaList<string> GameDirectories { get; set; } public AvaloniaList<string> GameDirectories { get; set; }
public ObservableCollection<ComboBoxItem> AvailableGpus { get; set; } public ObservableCollection<ComboBoxItem> AvailableGpus { get; set; }
//public ObservableCollection<ComboBoxItem> ShadingLanguage { get; set; }
public AvaloniaList<string> NetworkInterfaceList public AvaloniaList<string> NetworkInterfaceList
{ {
@ -308,7 +307,6 @@ namespace Ryujinx.Ava.UI.ViewModels
GameDirectories = new AvaloniaList<string>(); GameDirectories = new AvaloniaList<string>();
TimeZones = new AvaloniaList<TimeZone>(); TimeZones = new AvaloniaList<TimeZone>();
AvailableGpus = new ObservableCollection<ComboBoxItem>(); AvailableGpus = new ObservableCollection<ComboBoxItem>();
//ShadingLanguage = new ObservableCollection<ComboBoxItem>();
_validTzRegions = new List<string>(); _validTzRegions = new List<string>();
_networkInterfaces = new Dictionary<string, string>(); _networkInterfaces = new Dictionary<string, string>();

View file

@ -1,4 +1,4 @@
using Ryujinx.Common.Utilities; using Ryujinx.Common.Utilities;
using System.Text.Json.Serialization; using System.Text.Json.Serialization;
namespace Ryujinx.Common.Configuration namespace Ryujinx.Common.Configuration

View file

@ -501,7 +501,7 @@ namespace Ryujinx.Ui.Common.Configuration
/// Graphics backend /// Graphics backend
/// </summary> /// </summary>
public ReactiveObject<GraphicsBackend> GraphicsBackend { get; private set; } public ReactiveObject<GraphicsBackend> GraphicsBackend { get; private set; }
/// <summary> /// <summary>
/// Graphics backend /// Graphics backend
/// </summary> /// </summary>
@ -1572,7 +1572,7 @@ namespace Ryujinx.Ui.Common.Configuration
return GraphicsBackend.OpenGl; return GraphicsBackend.OpenGl;
} }
private static ShadingLanguage DefaultShadingLanguge() private static ShadingLanguage DefaultShadingLanguge()
{ {
// Any system running macOS or returning any amount of valid Vulkan devices should default to Vulkan. // Any system running macOS or returning any amount of valid Vulkan devices should default to Vulkan.