1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-01-27 06:35:04 +00:00

Breakup line, for easier debugging.

This commit is contained in:
Thomas Harte 2022-09-16 15:43:23 -04:00
parent 38e85a340a
commit ea9411b21c

View File

@ -100,8 +100,8 @@ void AppleDSK::set_tracks(const std::map<Track::Address, std::shared_ptr<Track>>
std::map<Track::Address, std::vector<uint8_t>> tracks_by_address;
for(const auto &pair: tracks) {
// Decode the track.
const auto sector_map = Storage::Encodings::AppleGCR::sectors_from_segment(
Storage::Disk::track_serialisation(*pair.second, Storage::Time(1, 50000)));
const auto serialistion = Storage::Disk::track_serialisation(*pair.second, Storage::Time(1, 50000));
const auto sector_map = Storage::Encodings::AppleGCR::sectors_from_segment(serialistion);
// Rearrange sectors into Apple DOS or Pro-DOS order.
std::vector<uint8_t> track_contents(size_t(bytes_per_sector * sectors_per_track_));