mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix detection of flash drives that report themselves as CD drives when they're not.
This commit is contained in:
@@ -990,7 +990,9 @@ namespace Aaru.DiscImages
|
||||
_imageInfo.MediaType = MediaTypeFromDevice.GetFromScsi((byte)devType, _imageInfo.DriveManufacturer,
|
||||
_imageInfo.DriveModel, mediumType,
|
||||
densityCode, _imageInfo.Sectors,
|
||||
_imageInfo.SectorSize);
|
||||
_imageInfo.SectorSize,
|
||||
_mediaTags.ContainsKey(MediaTagType.
|
||||
USB_Descriptors));
|
||||
}
|
||||
|
||||
if(_imageInfo.MediaType == MediaType.Unknown)
|
||||
|
||||
Reference in New Issue
Block a user