From fea85649bbf066b9811001fc77f0f0c78113adb2 Mon Sep 17 00:00:00 2001 From: Morilli <35152647+Morilli@users.noreply.github.com> Date: Sun, 19 Jun 2022 21:48:03 +0200 Subject: [PATCH] Fix tasproj version writing not using invariant culture generated "v1,1" for me not a big issue in practice as it was already handled, but better to fix --- src/BizHawk.Client.Common/movie/MovieConversionExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BizHawk.Client.Common/movie/MovieConversionExtensions.cs b/src/BizHawk.Client.Common/movie/MovieConversionExtensions.cs index 16ae2d0228..65794a0b47 100644 --- a/src/BizHawk.Client.Common/movie/MovieConversionExtensions.cs +++ b/src/BizHawk.Client.Common/movie/MovieConversionExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System.Globalization; using System.IO; using System.Linq; @@ -28,7 +28,7 @@ namespace BizHawk.Client.Common foreach (var (k, v) in old.HeaderEntries) tas.HeaderEntries[k] = v; // TODO: we have this version number string generated in multiple places - tas.HeaderEntries[HeaderKeys.MovieVersion] = $"BizHawk v2.0 Tasproj v{TasMovie.CurrentVersion}"; + tas.HeaderEntries[HeaderKeys.MovieVersion] = $"BizHawk v2.0 Tasproj v{TasMovie.CurrentVersion.ToString(NumberFormatInfo.InvariantInfo)}"; tas.SyncSettingsJson = old.SyncSettingsJson;