From 8c321575471e6860679aec4c2cff34e14d111fca Mon Sep 17 00:00:00 2001 From: adelikat Date: Sat, 14 Jan 2023 12:00:37 -0600 Subject: [PATCH] hotkey for toggling on screen messages --- src/BizHawk.Client.Common/config/Binding.cs | 1 + src/BizHawk.Client.EmuHawk/MainForm.Hotkey.cs | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/BizHawk.Client.Common/config/Binding.cs b/src/BizHawk.Client.Common/config/Binding.cs index c09fd9ac37..db9a9c6d20 100644 --- a/src/BizHawk.Client.Common/config/Binding.cs +++ b/src/BizHawk.Client.Common/config/Binding.cs @@ -64,6 +64,7 @@ namespace BizHawk.Client.Common Bind("General", "Toggle Skip Lag Frame"); Bind("General", "Toggle Key Priority"); Bind("General", "Frame Inch"); + Bind("General", "Toggle Messages"); Bind("Save States", "Save State 1", "Shift+F1"); Bind("Save States", "Save State 2", "Shift+F2"); diff --git a/src/BizHawk.Client.EmuHawk/MainForm.Hotkey.cs b/src/BizHawk.Client.EmuHawk/MainForm.Hotkey.cs index 73c1be37c1..d728ecadf0 100644 --- a/src/BizHawk.Client.EmuHawk/MainForm.Hotkey.cs +++ b/src/BizHawk.Client.EmuHawk/MainForm.Hotkey.cs @@ -158,6 +158,9 @@ namespace BizHawk.Client.EmuHawk case "Toggle Key Priority": ToggleKeyPriority(); break; + case "Toggle Messages": + Config.DisplayMessages ^= true; + break; // Save States case "Save State 1":