simplify BasicMovieInfo.FrameRate

This commit is contained in:
Morilli 2024-09-15 17:53:16 +02:00
parent cdbaec1db9
commit 94a24aab84
1 changed files with 3 additions and 5 deletions

View File

@ -71,14 +71,12 @@ namespace BizHawk.Client.Common
const decimal attosInSec = 1_000_000_000_000_000_000.0M; const decimal attosInSec = 1_000_000_000_000_000_000.0M;
var m = attosInSec; var m = attosInSec;
m /= ulong.Parse(vsyncAttoStr); m /= ulong.Parse(vsyncAttoStr);
return checked((double) m); return (double) m;
} }
else
{
return PlatformFrameRates.GetFrameRate(SystemID, IsPal); return PlatformFrameRates.GetFrameRate(SystemID, IsPal);
} }
} }
}
public SubtitleList Subtitles { get; } = new(); public SubtitleList Subtitles { get; } = new();
public IList<string> Comments { get; } = new List<string>(); public IList<string> Comments { get; } = new List<string>();