oops, vsyncrate is a double

This commit is contained in:
adelikat 2017-05-05 16:23:13 -05:00
parent 9b1945a81e
commit c81a2fcc23
1 changed files with 2 additions and 2 deletions

View File

@ -362,9 +362,9 @@ namespace BizHawk.Emulation.Common.IEmulatorExtensions
return 1;
}
public static int VsyncRate(this IEmulator core)
public static double VsyncRate(this IEmulator core)
{
return core.VsyncNumerator() / core.VsyncDenominator();
return core.VsyncNumerator() / (double)core.VsyncDenominator();
}
// TODO: a better place for these