some misc bug fixes in some lua functions
This commit is contained in:
parent
d30d5ba06d
commit
bf034b880f
|
@ -83,7 +83,7 @@ namespace BizHawk.Client.Common
|
||||||
"rshift",
|
"rshift",
|
||||||
"Logical shift right of 'val' by 'amt' bits"
|
"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);
|
return (uint)(val >> amt);
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@ namespace BizHawk.Client.Common
|
||||||
)]
|
)]
|
||||||
public static void DisplayVsync(bool enabled)
|
public static void DisplayVsync(bool enabled)
|
||||||
{
|
{
|
||||||
Global.Config.VSyncThrottle = enabled;
|
Global.Config.VSync = enabled;
|
||||||
}
|
}
|
||||||
|
|
||||||
[LuaMethodAttributes(
|
[LuaMethodAttributes(
|
||||||
|
|
Loading…
Reference in New Issue