Rename Sector.logicalSector to Sector.physicalSector.

This commit is contained in:
David Given
2022-09-10 18:59:06 +02:00
parent 7f1017ebd9
commit 1a4caccd07
46 changed files with 72 additions and 72 deletions

View File

@@ -86,8 +86,8 @@ static void write_sector(std::vector<bool>& bits,
checksum = 0;
Bytes header = {0xff, /* Amiga 1.0 format byte */
(uint8_t)((sector->logicalTrack << 1) | sector->logicalSide),
(uint8_t)sector->logicalSector,
(uint8_t)(AMIGA_SECTORS_PER_TRACK - sector->logicalSector)};
(uint8_t)sector->physicalSector,
(uint8_t)(AMIGA_SECTORS_PER_TRACK - sector->physicalSector)};
write_interleaved_bytes(header);
Bytes recoveryInfo(16);
if (sector->data.size() == 528)