Ignore:
Timestamp:
Apr 7, 2016, 7:01:24 PM (8 years ago)
Author:
chronos
Message:
  • Modified: Dynamically calculate sector count from drive size and sector size.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Form/UFormMain.pas

    r27 r28  
    247247        Model := OpenDialog1.FileName;
    248248        SectorSize := 4096;
    249         SectorCount := Size div SectorSize;
    250249        Core.DriveList.LoadToStrings(ComboBoxDrive.Items);
    251250      end;
     
    319318    Core.Project.DriveInfo.Assign(TDriveInfo(ComboBoxDrive.Items.Objects[ComboBoxDrive.ItemIndex]));
    320319  Core.Project.ScanProfile.LoadFromDriveInfo(Core.Project.DriveInfo);
    321 
    322320
    323321  Redraw;
Note: See TracChangeset for help on using the changeset viewer.