Rename cylinder to track throughout (mostly).

This commit is contained in:
David Given
2022-03-25 20:16:12 +01:00
parent ea8af83d61
commit 86c5cccb08
115 changed files with 344 additions and 344 deletions

View File

@@ -82,12 +82,12 @@ public:
{
std::vector<std::shared_ptr<const Sector>> sectors;
if ((location.logicalCylinder >= 0) && (location.logicalCylinder < 77))
if ((location.logicalTrack >= 0) && (location.logicalTrack < 77))
{
for (int sectorId = 0; sectorId < 16; sectorId++)
{
const auto& sector = image.get(
location.logicalCylinder, location.head, sectorId);
location.logicalTrack, location.head, sectorId);
if (sector)
sectors.push_back(sector);
}