mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
On QEMU's virtual SDHCI reading several commands at once it blocking
the card right now, until I get real hardware and check out why it's better to be safe than sorry, so reading is limited to 1 block at a time.
This commit is contained in:
@@ -84,7 +84,7 @@ namespace DiscImageChef.Core.Devices.Dumping
|
|||||||
|
|
||||||
sidecar.BlockMedia[0].SecureDigital = new SecureDigitalType();
|
sidecar.BlockMedia[0].SecureDigital = new SecureDigitalType();
|
||||||
|
|
||||||
uint blocksToRead = 256;
|
uint blocksToRead = 1;
|
||||||
uint blockSize = 512;
|
uint blockSize = 512;
|
||||||
ulong blocks = 0;
|
ulong blocks = 0;
|
||||||
byte[] cid = null;
|
byte[] cid = null;
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ namespace DiscImageChef.Core.Devices.Scanning
|
|||||||
uint timeout = 5;
|
uint timeout = 5;
|
||||||
double duration = 0;
|
double duration = 0;
|
||||||
ushort currentProfile = 0x0001;
|
ushort currentProfile = 0x0001;
|
||||||
uint blocksToRead = 256;
|
uint blocksToRead = 1;
|
||||||
uint blockSize = 512;
|
uint blockSize = 512;
|
||||||
|
|
||||||
if(dev.Type == DeviceType.MMC)
|
if(dev.Type == DeviceType.MMC)
|
||||||
|
|||||||
Reference in New Issue
Block a user