Support single digit subs

This commit is contained in:
Matt Nadareski
2023-04-23 09:45:56 -04:00
parent 04035ac524
commit 888cb8ec9f
2 changed files with 5 additions and 0 deletions

View File

@@ -33,6 +33,7 @@
- Start migrating to datafile serialization
- Prepare for future DIC changes
- Add suppl support to Xbox
- Support single digit subs
### 2.5 (2023-03-12)

View File

@@ -1598,8 +1598,12 @@ namespace MPF.Modules.DiscImageCreator
logFiles.Add($"{basePath}.dat");
if (File.Exists($"{basePath}.sub"))
logFiles.Add($"{basePath}.sub");
if (File.Exists($"{basePath} (Track 0).sub"))
logFiles.Add($"{basePath} (Track 0).sub");
if (File.Exists($"{basePath} (Track 00).sub"))
logFiles.Add($"{basePath} (Track 00).sub");
if (File.Exists($"{basePath} (Track 1)(-LBA).sub"))
logFiles.Add($"{basePath} (Track 1)(-LBA).sub");
if (File.Exists($"{basePath} (Track 01)(-LBA).sub"))
logFiles.Add($"{basePath} (Track 01)(-LBA).sub");
if (File.Exists($"{basePath} (Track AA).sub"))