1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-07 08:28:57 +00:00

Updated the SSD file format container to specify sector sizes, now that it's no longer implicit.

This commit is contained in:
Thomas Harte 2017-08-11 14:30:35 -04:00
parent cf1403bc79
commit 80ebc63101

View File

@ -60,6 +60,7 @@ std::shared_ptr<Track> SSD::get_uncached_track_at_position(unsigned int head, un
new_sector.track = (uint8_t)position;
new_sector.side = 0;
new_sector.sector = (uint8_t)sector;
new_sector.size = 1;
new_sector.data.resize(256);
fread(new_sector.data.data(), 1, 256, file_);