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:
@@ -180,7 +180,8 @@ namespace Aaru.Core.Devices.Dumping
|
||||
|
||||
if(dskType == MediaType.Unknown)
|
||||
dskType = MediaTypeFromDevice.GetFromScsi((byte)_dev.ScsiType, _dev.Manufacturer, _dev.Model,
|
||||
scsiMediumType, scsiDensityCode, blocks + 1, blockSize);
|
||||
scsiMediumType, scsiDensityCode, blocks + 1, blockSize,
|
||||
_dev.IsUsb);
|
||||
|
||||
if(_dev.ScsiType == PeripheralDeviceTypes.MultiMediaDevice)
|
||||
MMC.DetectDiscType(ref dskType, 1, null, _dev, out _, out _, 0);
|
||||
|
||||
Reference in New Issue
Block a user