Remove -disc2 from Cleanrip serial (fixes #644)

This commit is contained in:
Matt Nadareski
2024-02-03 19:39:30 -05:00
parent a748bd4d3a
commit 1dc0d57d47
2 changed files with 3 additions and 0 deletions

View File

@@ -27,6 +27,7 @@
- Verbose Redumper log by default (Deterous)
- Retrieve serial from Cleanrip
- Fix build from rushed code
- Remove `-disc2` from Cleanrip serial
### 3.0.3 (2023-12-04)

View File

@@ -320,6 +320,8 @@ namespace MPF.Core.Modules.CleanRip
else if (line.StartsWith("Filename"))
{
serial = line.Substring("Filename: ".Length);
if (serial.EndsWith("-disc2"))
serial = serial.Replace("-disc2", string.Empty);
// char gameType = serial[0];
// string gameid = serial[1] + serial[2];