mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add unknown tape type.
This commit is contained in:
@@ -69,6 +69,8 @@ namespace DiscImageChef.CommonTypes
|
||||
Zone_HDD = 4,
|
||||
/// <summary>USB flash drives</summary>
|
||||
FlashDrive = 5,
|
||||
/// <summary>USB flash drives</summary>
|
||||
UnknownTape = 4,
|
||||
#endregion Generics, types 0 to 9
|
||||
|
||||
#region Somewhat standard Compact Disc formats, types 10 to 39
|
||||
|
||||
@@ -274,6 +274,7 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
if(dskType == MediaType.Unknown)
|
||||
dskType = MediaTypeFromScsi.Get((byte)dev.ScsiType, dev.Manufacturer, dev.Model, scsiMediumTypeTape,
|
||||
scsiDensityCodeTape, blocks, blockSize);
|
||||
if(dskType == MediaType.Unknown) dskType = MediaType.UnknownTape;
|
||||
|
||||
UpdateStatus?.Invoke($"SCSI device type: {dev.ScsiType}.");
|
||||
UpdateStatus?.Invoke($"SCSI medium type: {scsiMediumTypeTape}.");
|
||||
|
||||
@@ -22,6 +22,7 @@ enum <uint> MediaType
|
||||
Microdrive = 3,
|
||||
Zone_HDD = 4,
|
||||
FlashDrive = 5,
|
||||
UnknownTape = 6,
|
||||
|
||||
CD = 10,
|
||||
CDDA = 11,
|
||||
|
||||
Reference in New Issue
Block a user