Auto-detect VCD (fixes #257)

This commit is contained in:
Matt Nadareski
2021-02-04 21:16:42 -08:00
parent 195d3c6ff7
commit c2b724e949

View File

@@ -953,6 +953,13 @@ namespace MPF.Utilities
return KnownSystem.VTechVFlashVSmilePro;
}
// VCD
if (Directory.Exists(Path.Combine(drivePath, "VCD"))
&& Directory.EnumerateFiles(Path.Combine(drivePath, "VCD")).Count() > 0)
{
return KnownSystem.VideoCD;
}
// Default return
return KnownSystem.NONE;
}