some misc bug fixes in some lua functions

This commit is contained in:
adelikat 2015-03-27 23:29:15 +00:00
parent d30d5ba06d
commit bf034b880f
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -45,7 +45,7 @@ namespace BizHawk.Client.Common
)]
public static void DisplayVsync(bool enabled)
{
Global.Config.VSyncThrottle = enabled;
Global.Config.VSync = enabled;
}
[LuaMethodAttributes(