More concise FrameRate definition; comment tweaks (#2210)
This commit is contained in:
parent
ca646f87cf
commit
9a45d88301
|
@ -102,14 +102,7 @@ namespace BizHawk.Client.Common
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public double FrameRate
|
public double FrameRate => PlatformFrameRates.GetFrameRate(SystemID, IsPal);
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
var system = HeaderEntries[HeaderKeys.Platform];
|
|
||||||
return PlatformFrameRates.GetFrameRate(system, IsPal);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public IStringLog GetLogEntries() => Log;
|
public IStringLog GetLogEntries() => Log;
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ namespace BizHawk.Client.Common
|
||||||
int FrameCount { get; }
|
int FrameCount { get; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the actual length of the input log, should only be used by code that needs a the input log length
|
/// Gets the actual length of the input log, should only be used by code that needs the input log length
|
||||||
/// specifically, not the frame count
|
/// specifically, not the frame count
|
||||||
/// </summary>
|
/// </summary>
|
||||||
int InputLogLength { get; }
|
int InputLogLength { get; }
|
||||||
|
@ -99,7 +99,7 @@ namespace BizHawk.Client.Common
|
||||||
string BoardName { get; set; }
|
string BoardName { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Loads from the HawkFile the minimal amount of information needed to determine Header info and Movie length
|
/// Loads from the HawkFile the minimal amount of information needed to determine Header info and Movie length.
|
||||||
/// This method is intended to be more performant than a full load
|
/// This method is intended to be more performant than a full load
|
||||||
/// </summary>
|
/// </summary>
|
||||||
bool PreLoadHeaderAndLength();
|
bool PreLoadHeaderAndLength();
|
||||||
|
|
Loading…
Reference in New Issue