Update SettingsViewModel.cs

This commit is contained in:
Vladimir Sokolov 2025-01-08 23:09:09 +10:00 committed by GitHub
parent 1c6390cbfb
commit 0c503e10ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -516,10 +516,10 @@ namespace Ryujinx.Ava.UI.ViewModels
EnableMouse = config.Hid.EnableMouse; EnableMouse = config.Hid.EnableMouse;
EnableSpecialExit = config.Hid.specialExitEmulator.Value switch EnableSpecialExit = config.Hid.specialExitEmulator.Value switch
{ {
0=> 0, // "Hotkey 'Exit' is Disabled" 0 => 0, // "Hotkey 'Exit' is Disabled"
1=> 1, // "Close app. by hotkey" 1 => 1, // "Close app. by hotkey"
2=> 2, // "Close game by hotkey" 2 => 2, // "Close game by hotkey"
_=> 0 // "Hotkey 'Exit' is Disabled" _ => 0 // "Hotkey 'Exit' is Disabled"
}; };
// Keyboard Hotkeys // Keyboard Hotkeys