i guess this is required oops

fixes bc16a2cdaa
This commit is contained in:
Morilli 2023-04-20 12:31:33 +02:00
parent bc16a2cdaa
commit 1356bc6a3f
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}