Detect Photo CD

This commit is contained in:
Matt Nadareski
2024-01-25 20:53:21 -05:00
parent 405ae7c7e4
commit 747ac4ea3b
2 changed files with 16 additions and 0 deletions

View File

@@ -21,6 +21,7 @@
- Normalise Disc Titles in Submission Info (Deterous)
- Fix information pulling for CleanRip and UIC
- Add UMD handling for the disc info window
- Detect Photo CD
### 3.0.3 (2023-12-04)

View File

@@ -500,6 +500,21 @@ namespace MPF.Core.Data
}
catch { }
// Photo CD
try
{
if (Directory.Exists(Path.Combine(this.Name, "PHOTO_CD"))
#if NET20 || NET35
&& Directory.GetFiles(Path.Combine(this.Name, "PHOTO_CD")).Any())
#else
&& Directory.EnumerateFiles(Path.Combine(this.Name, "PHOTO_CD")).Any())
#endif
{
return RedumpSystem.PhotoCD;
}
}
catch { }
// VCD
try
{