Skip to content

Commit 32a66a9

Browse files
committed
Restore checked modifier in BasicMovieInfo.FrameRate
fixes 94a24aa
1 parent 1f1bf9b commit 32a66a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BizHawk.Client.Common/movie/BasicMovieInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public double FrameRate
7171
const decimal attosInSec = 1_000_000_000_000_000_000.0M;
7272
var m = attosInSec;
7373
m /= ulong.Parse(vsyncAttoStr);
74-
return (double) m;
74+
return checked((double) m);
7575
}
7676

7777
return PlatformFrameRates.GetFrameRate(SystemID, IsPal);

0 commit comments

Comments
 (0)