From 578174625194d8c8971a056232ab8ad05a1172f4 Mon Sep 17 00:00:00 2001 From: adelikat Date: Mon, 10 Jul 2017 11:24:32 -0500 Subject: [PATCH] Lua - use the proper Log method in some lua libraries --- .../tools/Lua/Libraries/EmuLuaLibrary.Client.cs | 2 +- .../tools/Lua/Libraries/EmuLuaLibrary.Forms.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Client.cs b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Client.cs index 7feb85ec94..1fded346c1 100644 --- a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Client.cs +++ b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Client.cs @@ -106,7 +106,7 @@ namespace BizHawk.Client.EmuHawk } else { - ConsoleLuaLibrary.Log("Invalid frame skip value"); + Log("Invalid frame skip value"); } } diff --git a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Forms.cs b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Forms.cs index 971d86777b..fea93da9fe 100644 --- a/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Forms.cs +++ b/BizHawk.Client.EmuHawk/tools/Lua/Libraries/EmuLuaLibrary.Forms.cs @@ -239,7 +239,7 @@ namespace BizHawk.Client.EmuHawk } catch (Exception ex) { - ConsoleLuaLibrary.Log(ex.Message); + Log(ex.Message); } return ""; @@ -274,7 +274,7 @@ namespace BizHawk.Client.EmuHawk } catch (Exception ex) { - ConsoleLuaLibrary.Log(ex.Message); + Log(ex.Message); } return "";