Skip to content

Commit

Permalink
Support Redumper 231 outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
mnadareski committed Oct 18, 2023
1 parent 316d0f6 commit 09fc313
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELIST.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- Fix GetPVD in dic (fuzz6001)
- Get SecuROM data from Redumper
- Clean up issue templates
- Support Redumper 231 outputs

### 2.7.1 (2023-10-11)

Expand Down
8 changes: 4 additions & 4 deletions MPF.Core/Modules/Redumper/Parameters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1356,7 +1356,7 @@ protected override bool ValidateAndSetParameters(string? parameters)
return true;
}

#endregion
#endregion

#region Information Extraction Methods

Expand Down Expand Up @@ -2149,8 +2149,8 @@ private static string GetSecuROMData(string log)
{
var line = sr.ReadLine()?.TrimStart();

// Skip the "version" line
if (line?.StartsWith("version:") == true)
// Skip the "version"/"scheme" line
if (line?.StartsWith("version:") == true || line?.StartsWith("scheme:") == true)
continue;

// Only read until while there are MSF lines
Expand Down Expand Up @@ -2462,6 +2462,6 @@ private static bool GetHardwareInfo(string log, out string? manufacturer, out st
}
}

#endregion
#endregion
}
}

0 comments on commit 09fc313

Please sign in to comment.