Enlarge sense buffer to 64 bytes.

This commit is contained in:
2021-03-25 23:23:18 +00:00
parent 7ee8988534
commit e4dbcdebc3
23 changed files with 105 additions and 105 deletions

View File

@@ -74,7 +74,7 @@ namespace Aaru.Devices
public bool SyQuestRead6(out byte[] buffer, out byte[] senseBuffer, uint lba, uint blockSize,
byte transferLength, bool inhibitDma, bool readLong, uint timeout, out double duration)
{
senseBuffer = new byte[32];
senseBuffer = new byte[64];
byte[] cdb = new byte[6];
bool sense;
@@ -151,7 +151,7 @@ namespace Aaru.Devices
ushort transferLength, bool inhibitDma, bool readLong, uint timeout,
out double duration)
{
senseBuffer = new byte[32];
senseBuffer = new byte[64];
byte[] cdb = new byte[10];
bool sense;