FEATURE FREEZE: Removed TODO lines already implemented.

This commit is contained in:
2017-12-19 01:13:31 +00:00
parent 5ab5052775
commit 8c6d05eed3
8 changed files with 1 additions and 12 deletions

View File

@@ -615,9 +615,8 @@ namespace DiscImageChef.Core.Devices.Report
if((ataId.PhysLogSectorSize & 0x2000) == 0x2000)
{
// TODO: Bit shift 1 << value&F
#pragma warning disable IDE0004 // Cast is necessary, otherwise incorrect value is created
physicalsectorsize = logicalsectorsize * (uint)Math.Pow(2, (double)(ataId.PhysLogSectorSize & 0xF));
physicalsectorsize = (uint)(logicalsectorsize * (1 << ataId.PhysLogSectorSize & 0xF));
#pragma warning restore IDE0004 // Cast is necessary, otherwise incorrect value is created
}
else