oops, vsyncrate is a double
This commit is contained in:
parent
9b1945a81e
commit
c81a2fcc23
|
@ -362,9 +362,9 @@ namespace BizHawk.Emulation.Common.IEmulatorExtensions
|
||||||
return 1;
|
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
|
// TODO: a better place for these
|
||||||
|
|
Loading…
Reference in New Issue