Check the correct integer type for tastudio.setplayback
New lua actually has integers so this is a long instead of a double
This commit is contained in:
parent
9bc1646693
commit
4b30cab993
|
@ -139,7 +139,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
_luaLibsImpl.IsUpdateSupressed = true;
|
||||
|
||||
int f;
|
||||
if (frame is double frameNumber)
|
||||
if (frame is long frameNumber)
|
||||
{
|
||||
f = (int)frameNumber;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue