From 8bb403524bd263c3b161eb57773d1e291979f449 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Sun, 1 Nov 2015 22:38:25 +0000 Subject: [PATCH] * DiscImageChef.Decoders/SCSI/MMC/Features.cs: Reword Feature 0105h. Correct handling of feature 010Ch. * DiscImageChef/Commands/DeviceInfo.cs: Typo in debug output. --- ChangeLog | 6 ++++++ SCSI/MMC/Features.cs | 14 ++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index c0cea1da0..38475b23a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2015-11-01 Natalia Portillo + + * SCSI/MMC/Features.cs: + Reword Feature 0105h. + Correct handling of feature 010Ch. + 2015-11-01 Natalia Portillo * SCSI/MMC/Features.cs: diff --git a/SCSI/MMC/Features.cs b/SCSI/MMC/Features.cs index 7030521c5..27a4fc2cb 100644 --- a/SCSI/MMC/Features.cs +++ b/SCSI/MMC/Features.cs @@ -5174,7 +5174,7 @@ namespace DiscImageChef.Decoders.SCSI.MMC Feature_0105 ftr = feature.Value; StringBuilder sb = new StringBuilder(); - sb.AppendLine("MMC Timeout:"); + sb.AppendLine("Drive supports Timeout & Protect mode page 1Dh"); if (ftr.Group3) { @@ -5258,7 +5258,7 @@ namespace DiscImageChef.Decoders.SCSI.MMC if (ftr.DCBs != null) { foreach (uint DCB in ftr.DCBs) - sb.AppendFormat("Drive supports DCB {0}", DCB).AppendLine(); + sb.AppendFormat("Drive supports DCB {0:X8}h", DCB).AppendLine(); } return sb.ToString(); @@ -5321,13 +5321,11 @@ namespace DiscImageChef.Decoders.SCSI.MMC try { - DateTime fwDate = TimeZoneInfo.ConvertTimeToUtc(new DateTime(Int32.Parse(syear), - Int32.Parse(smonth), Int32.Parse(sday), - Int32.Parse(shour), Int32.Parse(sminute), - Int32.Parse(ssecond), DateTimeKind.Local), - TimeZoneInfo.FindSystemTimeZoneById("GMT Standard Time")); + DateTime fwDate = new DateTime(Int32.Parse(syear), Int32.Parse(smonth), + Int32.Parse(sday), Int32.Parse(shour), Int32.Parse(sminute), + Int32.Parse(ssecond), DateTimeKind.Utc); - sb.AppendFormat("Drive firmware is dated {0}", fwDate); + sb.AppendFormat("Drive firmware is dated {0}", fwDate).AppendLine(); } catch {