From b6406fe52349aadc34d9ce8cfa9f07be727d845d Mon Sep 17 00:00:00 2001 From: adelikat Date: Sat, 30 Jan 2016 12:08:37 -0500 Subject: [PATCH] lua - client.displaymessages() --- .../tools/Lua/Libraries/EmuLuaLibrary.Client.cs | 9 +++++++++ 1 file changed, 9 insertions(+) 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; + } } }