mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix setting correct speed value in Kb/s. Fixes #274
This commit is contained in:
@@ -195,11 +195,14 @@ namespace Aaru.Core.Devices.Dumping
|
||||
|
||||
if(compactDisc)
|
||||
{
|
||||
_speedMultiplier *= 177;
|
||||
CompactDisc();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
_speedMultiplier *= 150;
|
||||
|
||||
var scsiReader = new Reader(_dev, _dev.Timeout, null, _dumpRaw);
|
||||
ulong blocks = scsiReader.GetDeviceBlocks();
|
||||
_dumpLog.WriteLine("Device reports disc has {0} blocks", blocks);
|
||||
|
||||
Reference in New Issue
Block a user