mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Added disk geometry.
This commit is contained in:
@@ -269,7 +269,11 @@ namespace DiscImageChef.DiscImages
|
||||
|
||||
sectorCache.Add(sectorAddress, sector);
|
||||
|
||||
return sector;
|
||||
ImageInfo.cylinders = pHdr.cylinders;
|
||||
ImageInfo.heads = pHdr.heads;
|
||||
ImageInfo.sectorsPerTrack = (uint)((pHdr.sectors / pHdr.heads) / pHdr.cylinders);
|
||||
|
||||
return sector;
|
||||
}
|
||||
|
||||
public override byte[] ReadSectors(ulong sectorAddress, uint length)
|
||||
|
||||
Reference in New Issue
Block a user