From 39e640aee95fc5ebdf4b244ffaa8396f8ede6fa0 Mon Sep 17 00:00:00 2001 From: Rolanmen1 Date: Wed, 4 Apr 2012 20:09:50 +0000 Subject: [PATCH] gui.cleartext() Implemented. This Function Should Always Be Called After emu.yield() In Order For The Later To Work Correctly. --- BizHawk.MultiClient/LuaImplementation.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/BizHawk.MultiClient/LuaImplementation.cs b/BizHawk.MultiClient/LuaImplementation.cs index adf4141a93..85446bbdf8 100644 --- a/BizHawk.MultiClient/LuaImplementation.cs +++ b/BizHawk.MultiClient/LuaImplementation.cs @@ -221,6 +221,7 @@ namespace BizHawk.MultiClient { "text", "alert", + "cleartext", }; public static string[] EmuFunctions = new string[] @@ -426,6 +427,11 @@ namespace BizHawk.MultiClient do_gui_text(luaX, luaY, luaStr, true, anchor); } + public void gui_cleartext() + { + Global.RenderPanel.ClearGUIText(); + } + //---------------------------------------------------- //Emu library //----------------------------------------------------