1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-21 17:16:44 +00:00

Isolates those Sector fields that describe its address and makes them usable as a set key.

This commit is contained in:
Thomas Harte
2017-09-24 21:57:21 -04:00
parent c7f27b2db4
commit 3319a4f589
6 changed files with 37 additions and 27 deletions
+3 -3
View File
@@ -143,9 +143,9 @@ template<class T> std::shared_ptr<Storage::Disk::Track>
// sector header
shifter.add_ID_address_mark();
shifter.add_byte(sector.track);
shifter.add_byte(sector.side);
shifter.add_byte(sector.sector);
shifter.add_byte(sector.address.track);
shifter.add_byte(sector.address.side);
shifter.add_byte(sector.address.sector);
shifter.add_byte(sector.size);
shifter.add_crc(sector.has_header_crc_error);