mirror of
https://github.com/TomHarte/CLK.git
synced 2024-08-20 13:29:27 +00:00
Updated the SSD file format container to specify sector sizes, now that it's no longer implicit.
This commit is contained in:
parent
cf1403bc79
commit
80ebc63101
@ -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.track = (uint8_t)position;
|
||||||
new_sector.side = 0;
|
new_sector.side = 0;
|
||||||
new_sector.sector = (uint8_t)sector;
|
new_sector.sector = (uint8_t)sector;
|
||||||
|
new_sector.size = 1;
|
||||||
|
|
||||||
new_sector.data.resize(256);
|
new_sector.data.resize(256);
|
||||||
fread(new_sector.data.data(), 1, 256, file_);
|
fread(new_sector.data.data(), 1, 256, file_);
|
||||||
|
Loading…
Reference in New Issue
Block a user