mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-11 08:30:55 +00:00
I don't think there are sync words at the start of the track.
This commit is contained in:
parent
eec068914e
commit
fc4ca4f8e3
@ -140,10 +140,6 @@ std::shared_ptr<Track> AmigaADF::get_track_at_position(Track::Address address) {
|
||||
encoded_segment.data.reserve(102'400); // i.e. 0x1900 bytes.
|
||||
auto encoder = MFM::GetMFMEncoder(encoded_segment.data);
|
||||
|
||||
// Each track begins with two sync words.
|
||||
encoder->output_short(MFM::MFMSync);
|
||||
encoder->output_short(MFM::MFMSync);
|
||||
|
||||
// Grab the unencoded track.
|
||||
file_.seek(get_file_offset_for_position(address), SEEK_SET);
|
||||
const std::vector<uint8_t> track_data = file_.read(512 * 11);
|
||||
|
Loading…
x
Reference in New Issue
Block a user