From 648a1de060c01bf6ab0e912a8511d3ac7cb2bda4 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sun, 26 Apr 2020 14:01:43 -0500 Subject: [PATCH] lau - fix a few typos --- BizHawk.Client.Common/lua/CommonLibs/JoypadLuaLibrary.cs | 2 +- BizHawk.Client.Common/lua/LuaHelperLibs/EventsLuaLibrary.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BizHawk.Client.Common/lua/CommonLibs/JoypadLuaLibrary.cs b/BizHawk.Client.Common/lua/CommonLibs/JoypadLuaLibrary.cs index e0fb340519..e3b2760f36 100644 --- a/BizHawk.Client.Common/lua/CommonLibs/JoypadLuaLibrary.cs +++ b/BizHawk.Client.Common/lua/CommonLibs/JoypadLuaLibrary.cs @@ -32,7 +32,7 @@ namespace BizHawk.Client.Common public LuaTable GetImmediate(int? controller = null) => APIs.Joypad.GetImmediate(controller).ToLuaTable(Lua); [LuaMethodExample("joypad.setfrommnemonicstr( \"| 0, 0, 0, 100,...R..B....|\" );")] - [LuaMethod("setfrommnemonicstr", "sets the given buttons to their provided values for the current frame, string will be interpretted the same way an entry from a movie input log would be")] + [LuaMethod("setfrommnemonicstr", "sets the given buttons to their provided values for the current frame, string will be interpreted the same way an entry from a movie input log would be")] public void SetFromMnemonicStr(string inputLogEntry) => APIs.Joypad.SetFromMnemonicStr(inputLogEntry); [LuaMethodExample("joypad.set( { [\"Left\"] = true, [ \"A\" ] = true, [ \"B\" ] = true } );")] diff --git a/BizHawk.Client.Common/lua/LuaHelperLibs/EventsLuaLibrary.cs b/BizHawk.Client.Common/lua/LuaHelperLibs/EventsLuaLibrary.cs index 3bd3b03e67..819ab03fc3 100644 --- a/BizHawk.Client.Common/lua/LuaHelperLibs/EventsLuaLibrary.cs +++ b/BizHawk.Client.Common/lua/LuaHelperLibs/EventsLuaLibrary.cs @@ -124,7 +124,7 @@ namespace BizHawk.Client.Common private void LogScopeNotAvailable(string scope) { - Log($"{scope} is not an avaialble scope for {Emulator.Attributes().CoreName}"); + Log($"{scope} is not an available scope for {Emulator.Attributes().CoreName}"); } #endregion