add hotkey for toggling the 'Display Nothing" feature

This commit is contained in:
adelikat 2023-05-19 20:05:07 -05:00
parent 8a13793d00
commit 99a6b1d339
2 changed files with 5 additions and 0 deletions

View File

@ -65,6 +65,7 @@ namespace BizHawk.Client.Common
Bind("General", "Toggle Key Priority");
Bind("General", "Frame Inch");
Bind("General", "Toggle Messages");
Bind("General", "Toggle Display Nothing");
Bind("Save States", "Save State 1", "Shift+F1");
Bind("Save States", "Save State 2", "Shift+F2");

View File

@ -161,6 +161,10 @@ namespace BizHawk.Client.EmuHawk
case "Toggle Messages":
Config.DisplayMessages ^= true;
break;
case "Toggle Display Nothing":
// TODO: account for 1 when implemented
Config.DispSpeedupFeatures = Config.DispSpeedupFeatures == 0 ? 2 : 0;
break;
// Save States
case "Save State 1":