diff --git a/BizHawk.Client.Common/lua/EmuLuaLibrary.Bit.cs b/BizHawk.Client.Common/lua/EmuLuaLibrary.Bit.cs index 46d59a7142..ee86b2c51d 100644 --- a/BizHawk.Client.Common/lua/EmuLuaLibrary.Bit.cs +++ b/BizHawk.Client.Common/lua/EmuLuaLibrary.Bit.cs @@ -83,7 +83,7 @@ namespace BizHawk.Client.Common "rshift", "Logical shift right of 'val' by 'amt' bits" )] - public static uint Rshift(int val, int amt) + public static uint Rshift(uint val, int amt) { return (uint)(val >> amt); } diff --git a/BizHawk.Client.Common/lua/EmuLuaLibrary.Emu.cs b/BizHawk.Client.Common/lua/EmuLuaLibrary.Emu.cs index 1648c70251..3677acf62f 100644 --- a/BizHawk.Client.Common/lua/EmuLuaLibrary.Emu.cs +++ b/BizHawk.Client.Common/lua/EmuLuaLibrary.Emu.cs @@ -45,7 +45,7 @@ namespace BizHawk.Client.Common )] public static void DisplayVsync(bool enabled) { - Global.Config.VSyncThrottle = enabled; + Global.Config.VSync = enabled; } [LuaMethodAttributes(