Change end of section marker for XGD (fixes #219)

This commit is contained in:
Matt Nadareski
2020-09-08 22:51:17 -07:00
parent 497e2a09fd
commit c16c938fa4

View File

@@ -2829,7 +2829,7 @@ namespace DICUI.DiscImageCreator
Regex layerRegex = new Regex(@"Layer [01].*, startLBA-endLBA:\s*(\d+)-\s*(\d+)");
line = sr.ReadLine().Trim();
while (!line.StartsWith("========== Unlock 2 state(wxripper) =========="))
while (!line.StartsWith("========== TotalLength =========="))
{
// If we have a recognized line format, parse it
if (line.StartsWith("Layer "))