Detect CDTV discs (#632)

This commit is contained in:
Deterous
2024-01-19 17:00:45 +13:00
committed by GitHub
parent eb045928f9
commit a52ba0aa7a
2 changed files with 13 additions and 0 deletions

View File

@@ -15,6 +15,7 @@
- Retrieve volume label from logs (Deterous)
- Correct missing space in PVD (fuzz6001)
- Prevent crashing on invalid parameters (Deterous)
- Detect CDTV discs (Deterous)
### 3.0.3 (2023-12-04)

View File

@@ -307,6 +307,18 @@ namespace MPF.Core.Data
return RedumpSystem.BandaiPippin;
}
// Commodore CDTV (currently also detects CD32 as CDTV)
#if NET20 || NET35
if (File.Exists(Path.Combine(Path.Combine(this.Name, "S"), "STARTUP-SEQUENCE"))
|| File.Exists(Path.Combine(this.Name, "CDTV.TM")))
#else
if (File.Exists(Path.Combine(this.Name, "S", "STARTUP-SEQUENCE"))
|| File.Exists(Path.Combine(this.Name, "CDTV.TM")))
#endif
{
return RedumpSystem.CommodoreAmigaCDTV;
}
// Mattel Fisher-Price iXL
#if NET20 || NET35
if (File.Exists(Path.Combine(Path.Combine(this.Name, "iXL"), "iXLUpdater.exe")))