Fix Saturn header finding

This commit is contained in:
Matt Nadareski
2021-07-24 13:40:38 -07:00
parent 7f4921a47c
commit 97f9a73fc1
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
### WIP (xxxx-xx-xx)
- Fix Saturn header finding
### 2.1 (2021-07-22)
- Enum, no more
- Sony works backward

View File

@@ -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 ==========")) ;