add exit program hotkey

This commit is contained in:
zeromus 2014-10-07 01:20:48 +00:00
parent 3c7b2a620c
commit 45f7317b58
2 changed files with 4 additions and 0 deletions

View File

@ -115,6 +115,7 @@ namespace BizHawk.Client.Common
new Binding { DisplayName = "Reboot Core", Bindings = "Ctrl+R", TabGroup = "General", DefaultBinding = "Ctrl+R", Ordinal = 30 },
new Binding { DisplayName = "Autofire", Bindings = "", TabGroup = "General", DefaultBinding = "", Ordinal = 31 },
new Binding { DisplayName = "Toggle Sound", Bindings = "", TabGroup = "General", DefaultBinding = "", Ordinal = 32 },
new Binding { DisplayName = "Exit Program", Bindings = "", TabGroup = "General", DefaultBinding = "", Ordinal = 33 },
//Save States
new Binding { DisplayName = "Save State 0", Bindings = "Shift+F10", TabGroup = "Save States", DefaultBinding = "Shift+F10", Ordinal = 1 },

View File

@ -74,6 +74,9 @@ namespace BizHawk.Client.EmuHawk
case "Toggle Sound":
ToggleSound();
break;
case "Exit Program":
_exit = true;
break;
case "Record A/V":
RecordAv();
break;