From ec502acd1d3d7fb1b3ce23a63461d2098a176802 Mon Sep 17 00:00:00 2001 From: adelikat Date: Tue, 8 Nov 2016 10:37:59 -0600 Subject: [PATCH] Lua - make a call to DrawFinish() when closing the lua console. Fixes endless locked emu surface errors when opening it back up and loading a script that draws --- BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs b/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs index c5471b4e7e..93a3f35ba8 100644 --- a/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs +++ b/BizHawk.Client.EmuHawk/tools/Lua/LuaConsole.cs @@ -63,6 +63,7 @@ namespace BizHawk.Client.EmuHawk SaveColumnInfo(LuaListView, Settings.Columns); CloseLua(); GlobalWin.DisplayManager.ClearLuaSurfaces(); + LuaImp.GuiLibrary.DrawFinish(); } else {