diff --git a/Ryujinx/Ui/MainWindow.cs b/Ryujinx/Ui/MainWindow.cs index b1ab2bdff..6bcb4235d 100644 --- a/Ryujinx/Ui/MainWindow.cs +++ b/Ryujinx/Ui/MainWindow.cs @@ -117,9 +117,9 @@ namespace Ryujinx.Ui End(null); } - _virtualFileSystem = VirtualFileSystem.CreateInstance(); + _virtualFileSystem = VirtualFileSystem.CreateInstance(); _userChannelPersistence = new UserChannelPersistence(); - _contentManager = new ContentManager(_virtualFileSystem); + _contentManager = new ContentManager(_virtualFileSystem); if (migrationNeeded) { @@ -848,6 +848,16 @@ namespace Ryujinx.Ui LoadApplication(path); } + private void VSyncStatus_Clicked(object sender, ButtonReleaseEventArgs args) + { + _emulationContext.EnableDeviceVsync = !_emulationContext.EnableDeviceVsync; + } + + private void DockedMode_Clicked(object sender, ButtonReleaseEventArgs args) + { + ConfigurationState.Instance.System.EnableDockedMode.Value = !ConfigurationState.Instance.System.EnableDockedMode.Value; + } + private void Row_Clicked(object sender, ButtonReleaseEventArgs args) { if (args.Event.Button != 3) return; diff --git a/Ryujinx/Ui/MainWindow.glade b/Ryujinx/Ui/MainWindow.glade index 87946e20b..1dbec2136 100644 --- a/Ryujinx/Ui/MainWindow.glade +++ b/Ryujinx/Ui/MainWindow.glade @@ -470,13 +470,21 @@ True False - + True False - start - 5 - 5 - VSync + 0 + + + + True + False + start + 5 + 5 + VSync + + False @@ -496,12 +504,20 @@ - + True False - start - 5 - 5 + 0 + + + + True + False + start + 5 + 5 + + False