Detect HD-DVD-Video

This commit is contained in:
Matt Nadareski
2020-11-08 13:40:30 -08:00
parent 70d30d370f
commit 040720a1c2
2 changed files with 8 additions and 0 deletions

View File

@@ -20,6 +20,7 @@
- ~~Updated to DIC version 20201101~~
- Add support for `/ps` DIC flag
- Updated to BurnOutSharp 1.5.0
- Added HD-DVD-Video detection
### 1.17.1 (2020-09-14)
- Shuffled some shared, internal UI variables

View File

@@ -932,6 +932,13 @@ namespace DICUI.Utilities
return KnownSystem.DVDVideo;
}
// HD-DVD-Video
if (Directory.Exists(Path.Combine(drivePath, "HVDVD_TS"))
&& Directory.EnumerateFiles(Path.Combine(drivePath, "HVDVD_TS")).Count() > 0)
{
return KnownSystem.HDDVDVideo;
}
// Sega Dreamcast
if (File.Exists(Path.Combine(drivePath, "IP.BIN")))
{