From 97f9a73fc136fcb1e3aa047c3b139f33220eac6a Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Sat, 24 Jul 2021 13:40:38 -0700 Subject: [PATCH] Fix Saturn header finding --- CHANGELIST.md | 3 +++ MPF.Library/DiscImageCreator/Parameters.cs | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELIST.md b/CHANGELIST.md index 3f722e06..355b56c5 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -1,3 +1,6 @@ +### WIP (xxxx-xx-xx) +- Fix Saturn header finding + ### 2.1 (2021-07-22) - Enum, no more - Sony works backward diff --git a/MPF.Library/DiscImageCreator/Parameters.cs b/MPF.Library/DiscImageCreator/Parameters.cs index 38d42a6c..a09838e3 100644 --- a/MPF.Library/DiscImageCreator/Parameters.cs +++ b/MPF.Library/DiscImageCreator/Parameters.cs @@ -3056,7 +3056,9 @@ namespace MPF.DiscImageCreator { // If we're in a new mainInfo, the location of the header changed string line = sr.ReadLine(); - if (line.StartsWith("========== OpCode") || line.StartsWith("========== TOC (Binary)")) + if (line.StartsWith("========== OpCode") + || line.StartsWith("========== TOC (Binary)") + || line.StartsWith("========== FULL TOC (Binary)")) { // Seek to unscrambled data while (!(line = sr.ReadLine()).StartsWith("========== Check Volume Descriptor ==========")) ;