1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 08:49:37 +00:00

Gaps appear to contain pre-MFM data (?)

This commit is contained in:
Thomas Harte 2022-01-02 15:39:26 -05:00
parent 3e0b7d71d4
commit f37179d9f2

View File

@ -304,6 +304,7 @@ std::shared_ptr<Track> IPF::get_track_at_position([[maybe_unused]] Track::Addres
segment.data.resize(length);
} break;*/
case Type::Gap:
case Type::Data: {
printf("Handling data type %d, length %zu bits\n", int(type), length);
auto &segment = segments.emplace_back();
@ -322,7 +323,6 @@ std::shared_ptr<Track> IPF::get_track_at_position([[maybe_unused]] Track::Addres
segment.data.resize(length * 2);
} break;
case Type::Gap:
case Type::Sync:
case Type::Raw: {
printf("Handling data type %d, length %zu bits\n", int(type), length);