Ensure that the layout's sector size is honoured.

This commit is contained in:
David Given
2025-10-11 18:48:31 +02:00
parent 2a96d9bd78
commit fddc2270e5

View File

@@ -72,6 +72,7 @@ std::shared_ptr<DecodedTrack> Decoder::decodeToSectors(
before = fmr.tell();
decodeDataRecord();
_sector->data = _sector->data.slice(0, _ltl->sectorSize);
after = fmr.tell();
if (_sector->status != Sector::DATA_MISSING)