mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
* TODO:
* README.md: * DiscImageChef.Partitions/GPT.cs: * DiscImageChef.Partitions/DiscImageChef.Partitions.csproj: Added support for EFI GPT. Fixes #8. * commandline: * DiscImageChef.Decoders/SCSI/Sense.cs: Corrected handling when sense contains multiple repeated sense codes, in a not clean way (just ignoring repeats). * DiscImageChef.Filesystems/Acorn.cs: Added exception catching and unsigned values to correct Acorn DiscRecord structure. Fixes #34 * DiscImageChef/Commands/DeviceReport.cs: Check for 36 blocks in long block search in all cases. * DiscImageChef/Commands/DumpMedia.cs: Only try the persistent pass one time. If it didn't correct in the previous cycle it won't magically do now. Sort unreadalbe sectors before printing them.
This commit is contained in:
@@ -3296,7 +3296,7 @@ namespace DiscImageChef.Commands
|
||||
|
||||
if (pressedKey.Key == ConsoleKey.Y)
|
||||
{
|
||||
for (ushort i = (ushort)mediaTest.BlockSize; i < 0x8000; i++)
|
||||
for (ushort i = (ushort)mediaTest.BlockSize; i < (ushort)mediaTest.BlockSize * 36; i++)
|
||||
{
|
||||
DicConsole.Write("\rTrying to READ LONG with a size of {0} bytes...", i);
|
||||
sense = dev.ReadLong10(out buffer, out senseBuffer, false, false, 0, i, timeout, out duration);
|
||||
@@ -3497,10 +3497,10 @@ namespace DiscImageChef.Commands
|
||||
|
||||
if (pressedKey.Key == ConsoleKey.Y)
|
||||
{
|
||||
for (ushort i = (ushort)report.SCSI.ReadCapabilities.BlockSize; i < 0x4000; i++)
|
||||
for (ushort i = (ushort)report.SCSI.ReadCapabilities.BlockSize; i < (ushort)report.SCSI.ReadCapabilities.BlockSize * 36; i++)
|
||||
{
|
||||
DicConsole.Write("\rTrying to READ LONG with a size of {0} bytes...", i);
|
||||
sense = dev.ReadLong10(out buffer, out senseBuffer, false, false, 0, i, timeout, out duration);
|
||||
sense = dev.ReadLong10(out buffer, out senseBuffer, false, false, 0, (ushort)i, timeout, out duration);
|
||||
if (!sense)
|
||||
{
|
||||
if (options.Debug)
|
||||
|
||||
Reference in New Issue
Block a user