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

@@ -270,7 +270,7 @@ private:
* 06-07 - $0F ("off" bytes)
*/
uint8_t encodedTrack = ((sector->logicalTrack) + 1); // C64 track numbering starts with 1. Fluxengine with 0.
uint8_t encodedSector = sector->logicalSector;
uint8_t encodedSector = sector->physicalSector;
// uint8_t formatByte1 = C64_FORMAT_ID_BYTE1;
// uint8_t formatByte2 = C64_FORMAT_ID_BYTE2;
uint8_t headerChecksum = (encodedTrack ^ encodedSector ^ _formatByte1 ^ _formatByte2);