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:
CasualPokePlayer 2022-12-31 18:10:36 -08:00 committed by GitHub
parent 9bc1646693
commit 4b30cab993
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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