Ignore:
Timestamp:
09/30/09 09:01:05 (5 years ago)
Author:
lowjoel
Message:

Got rid of the SectorSize? and ClusterSize? fields in the FatApi? class, replacing them with the values straight from the BootSector? field. For the rest of the protected fields, place them into properties to allow ABI compatibility.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/eraser6/Eraser.Util.FileSystem/Fat16Api.cpp

    r1227 r1239  
    7878                throw gcnew ArgumentException(L"Invalid FAT cluster: cluster is marked bad."); 
    7979            else if (fatPtr[cluster] >= 0xFFF8) 
    80                 return result * ClusterSize; 
     80                return ClusterSizeToSize(result); 
    8181            else 
    8282                cluster = fatPtr[cluster]; 
Note: See TracChangeset for help on using the changeset viewer.