From 1356bc6a3fbc0e1f2ea808e9eafc7053f3de8a55 Mon Sep 17 00:00:00 2001 From: Morilli <35152647+Morilli@users.noreply.github.com> Date: Thu, 20 Apr 2023 12:31:33 +0200 Subject: [PATCH] i guess this is required oops fixes bc16a2cdaad7917eba117f42b20854d1425df452 --- src/BizHawk.Client.Common/movie/BasicMovieInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BizHawk.Client.Common/movie/BasicMovieInfo.cs b/src/BizHawk.Client.Common/movie/BasicMovieInfo.cs index 2d6736e426..12ffd8f59e 100644 --- a/src/BizHawk.Client.Common/movie/BasicMovieInfo.cs +++ b/src/BizHawk.Client.Common/movie/BasicMovieInfo.cs @@ -99,7 +99,7 @@ namespace BizHawk.Client.Common public virtual ulong Rerecords { - get => ulong.Parse(Header[HeaderKeys.Rerecords]); + get => Header.TryGetValue(HeaderKeys.Rerecords, out var rerecords) ? ulong.Parse(rerecords) : 0; set => Header[HeaderKeys.Rerecords] = value.ToString(); }