From ba28b414ba3e4fc6a88a577d0cd9ec795a3233a0 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Thu, 20 Jul 2023 20:26:57 -0400 Subject: [PATCH] Normalize old universal hash text (fixes #528) --- CHANGELIST.md | 1 + MPF.Library/InfoTool.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELIST.md b/CHANGELIST.md index 27a87a7d..7434fac9 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -4,6 +4,7 @@ - Universal hash only for audio discs - Support LibCrypt data from Redumper - Always show extension for Redumper +- Normalize old universal hash text ### 2.6.1 (2023-07-19) diff --git a/MPF.Library/InfoTool.cs b/MPF.Library/InfoTool.cs index 7d7b750f..1bf5152d 100644 --- a/MPF.Library/InfoTool.cs +++ b/MPF.Library/InfoTool.cs @@ -2384,6 +2384,7 @@ namespace MPF.Library text = text.Replace("SSv2:", ((SiteCode?)SiteCode.SSHash).ShortName()); text = text.Replace("SSv2:", ((SiteCode?)SiteCode.SSHash).ShortName()); text = text.Replace("SS version:", ((SiteCode?)SiteCode.SSVersion).ShortName()); + text = text.Replace("Universal Hash (SHA-1):", ((SiteCode?)SiteCode.UniversalHash).ShortName()); text = text.Replace("XeMID:", ((SiteCode?)SiteCode.XeMID).ShortName()); text = text.Replace("XMID:", ((SiteCode?)SiteCode.XMID).ShortName());