mirror of
https://github.com/SabreTools/MPF.git
synced 2026-07-02 17:24:48 +00:00
Auto-detect VCD (fixes #257)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user