diff --git a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Client.cs b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Client.cs index 97488bf4ac..fc6a99b27d 100644 --- a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Client.cs +++ b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Client.cs @@ -535,5 +535,14 @@ namespace BizHawk.Client.EmuHawk return null; } + + [LuaMethodAttributes( + "displaymessages", + "sets whether or not on screen messages will display" + )] + public void DisplayMessages(bool value) + { + Global.Config.DisplayMessages = value; + } } }