mirror of
https://github.com/aaru-dps/Aaru.CommonTypes.git
synced 2025-12-16 19:24:30 +00:00
Add detection of HiFD floppies.
This commit is contained in:
@@ -171,7 +171,7 @@ namespace Aaru.CommonTypes
|
||||
blockSize == 512)
|
||||
return blocks == 625134256 ? MediaType.RDX320 : MediaType.RDX;
|
||||
|
||||
if(vendor.ToLowerInvariant().StartsWith("cws orb"))
|
||||
if(vendor.ToLowerInvariant().StartsWith("cws orb", StringComparison.Ordinal))
|
||||
{
|
||||
switch(blocks)
|
||||
{
|
||||
@@ -180,6 +180,15 @@ namespace Aaru.CommonTypes
|
||||
}
|
||||
}
|
||||
|
||||
if(model.ToLowerInvariant().StartsWith("hifd", StringComparison.Ordinal))
|
||||
{
|
||||
switch(blocks)
|
||||
{
|
||||
case 393380 when blockSize == 512: return MediaType.HiFD;
|
||||
default: return MediaType.Unknown;
|
||||
}
|
||||
}
|
||||
|
||||
switch(mediumType)
|
||||
{
|
||||
case 0x01:
|
||||
|
||||
Reference in New Issue
Block a user