mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Added support for LS-240 SuperDisk and FD32MB.
This commit is contained in:
@@ -774,6 +774,7 @@ namespace DiscImageChef.CommonTypes
|
||||
HiFD,
|
||||
LS120,
|
||||
LS240,
|
||||
FD32MB,
|
||||
QuickDisk,
|
||||
UHD144,
|
||||
VideoFloppy,
|
||||
|
||||
@@ -107,13 +107,22 @@ namespace DiscImageChef.CommonTypes
|
||||
{
|
||||
if(blockSize == 512)
|
||||
{
|
||||
if(blocks == 469504)
|
||||
return MediaType.LS240;
|
||||
if(blocks == 246528)
|
||||
return MediaType.LS120;
|
||||
if(blocks == 65536)
|
||||
return MediaType.FD32MB;
|
||||
if(blocks == 2880)
|
||||
return MediaType.DOS_35_HD;
|
||||
if(blocks == 1440)
|
||||
return MediaType.DOS_35_DS_DD_9;
|
||||
}
|
||||
else if(blockSize == 1024)
|
||||
{
|
||||
if(blocks == 1232)
|
||||
return MediaType.NEC_35_HD_8;
|
||||
}
|
||||
|
||||
return MediaType.Unknown;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user