mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-28 04:36:23 +02:00
misc: some cleanups and fix compile warnings
This commit is contained in:
parent
391f57bdd2
commit
88d11d3d8d
4 changed files with 13 additions and 11 deletions
|
@ -182,7 +182,11 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
Applications.ToObservableChangeSet()
|
||||
.Filter(Filter)
|
||||
.Sort(GetComparer())
|
||||
.OnItemAdded(_ => OnPropertyChanged(nameof(AppsObservableList)))
|
||||
.OnItemRemoved(_ => OnPropertyChanged(nameof(AppsObservableList)))
|
||||
#pragma warning disable MVVMTK0034 // Event to update is fired below
|
||||
.Bind(out _appsObservableList)
|
||||
#pragma warning restore MVVMTK0034
|
||||
.AsObservableList();
|
||||
|
||||
_rendererWaitEvent = new AutoResetEvent(false);
|
||||
|
@ -192,8 +196,8 @@ namespace Ryujinx.Ava.UI.ViewModels
|
|||
LoadConfigurableHotKeys();
|
||||
|
||||
Volume = ConfigurationState.Instance.System.AudioVolume;
|
||||
CustomVSyncInterval = ConfigurationState.Instance.Graphics.CustomVSyncInterval.Value;
|
||||
}
|
||||
CustomVSyncInterval = ConfigurationState.Instance.Graphics.CustomVSyncInterval.Value;
|
||||
}
|
||||
|
||||
public void Initialize(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue