diff --git a/SCSI/Enums.cs b/SCSI/Enums.cs index 0a016f93f..bfc3b9e69 100644 --- a/SCSI/Enums.cs +++ b/SCSI/Enums.cs @@ -39,7 +39,7 @@ using System; namespace DiscImageChef.Decoders.SCSI { - enum PeripheralQualifiers : byte + public enum PeripheralQualifiers : byte { /// /// Peripheral qualifier: Device is connected and supported @@ -159,7 +159,7 @@ namespace DiscImageChef.Decoders.SCSI UnknownDevice = 0x1F } - enum ANSIVersions : byte + public enum ANSIVersions : byte { /// /// Device does not claim conformance to any ANSI version @@ -191,7 +191,7 @@ namespace DiscImageChef.Decoders.SCSI ANSI2008Version = 0x06 } - enum ECMAVersions : byte + public enum ECMAVersions : byte { /// /// Device does not claim conformance to any ECMA version @@ -203,7 +203,7 @@ namespace DiscImageChef.Decoders.SCSI ECMA111 = 0x01 } - enum ISOVersions : byte + public enum ISOVersions : byte { /// /// Device does not claim conformance to any ISO/IEC version @@ -215,7 +215,7 @@ namespace DiscImageChef.Decoders.SCSI ISO1995Version = 0x02 } - enum SPIClocking : byte + public enum SPIClocking : byte { /// /// Supports only ST @@ -235,7 +235,7 @@ namespace DiscImageChef.Decoders.SCSI STandDT = 0x03, } - enum TGPSValues : byte + public enum TGPSValues : byte { /// /// Assymetrical access not supported diff --git a/SCSI/Inquiry.cs b/SCSI/Inquiry.cs index 258783cfd..baf0ec4a6 100644 --- a/SCSI/Inquiry.cs +++ b/SCSI/Inquiry.cs @@ -204,9 +204,9 @@ namespace DiscImageChef.Decoders.SCSI StringBuilder sb = new StringBuilder(); - sb.AppendFormat("Device vendor: {0}", VendorString.Prettify(StringHandlers.SpacePaddedToString(response.VendorIdentification))).AppendLine(); - sb.AppendFormat("Device name: {0}", StringHandlers.SpacePaddedToString(response.ProductIdentification)).AppendLine(); - sb.AppendFormat("Device release level: {0}", StringHandlers.SpacePaddedToString(response.ProductRevisionLevel)).AppendLine(); + sb.AppendFormat("Device vendor: {0}", VendorString.Prettify(StringHandlers.CToString(response.VendorIdentification).Trim())).AppendLine(); + sb.AppendFormat("Device name: {0}", StringHandlers.CToString(response.ProductIdentification).Trim()).AppendLine(); + sb.AppendFormat("Device release level: {0}", StringHandlers.CToString(response.ProductRevisionLevel).Trim()).AppendLine(); switch ((PeripheralQualifiers)response.PeripheralQualifier) { case PeripheralQualifiers.Supported: