* DiscImageChef.Console/DicConsole.cs:

Added methods without formatting.

	* DiscImageChef.Decoders/ATA.cs:
	  Typo.

	* DiscImageChef.Decoders/SCSI.cs:
	  Don't try to decode Version Descriptors if there are none.
	Also there are devices on the wild with less than 8 VDs.

	* DiscImageChef/Commands/DeviceInfo.cs:
	  Use a format-less output.
This commit is contained in:
2015-10-19 01:37:23 +01:00
parent e9e55162d9
commit b661febe57
7 changed files with 1474 additions and 1421 deletions

View File

@@ -81,7 +81,7 @@ namespace DiscImageChef.Commands
else
DicConsole.WriteLine("SCSI OK");
DicConsole.WriteLine("{0}", Decoders.SCSI.PrettifySCSIInquiry(inqBuf));
DicConsole.WriteLine(Decoders.SCSI.PrettifySCSIInquiry(inqBuf));
Structs.AtaErrorRegistersCHS errorRegisters;
@@ -116,7 +116,7 @@ namespace DiscImageChef.Commands
else
{
DicConsole.WriteLine("ATAPI OK");
DicConsole.WriteLine("{0}", Decoders.ATA.PrettifyIdentifyDevice(ataBuf));
DicConsole.WriteLine(Decoders.ATA.PrettifyIdentifyDevice(ataBuf));
}
}
else
@@ -137,7 +137,7 @@ namespace DiscImageChef.Commands
else
{
DicConsole.WriteLine("ATA OK");
DicConsole.WriteLine("{0}", Decoders.ATA.PrettifyIdentifyDevice(ataBuf));
DicConsole.WriteLine(Decoders.ATA.PrettifyIdentifyDevice(ataBuf));
}
}
}