mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-12 15:31:09 +00:00
The virtual disk constructed is the same across all tracks. So why not just request zero?
This commit is contained in:
parent
f217d508b8
commit
ea4d85e1cd
@ -134,7 +134,7 @@ std::shared_ptr<Track> OricMFMDSK::get_uncached_track_at_position(unsigned int h
|
||||
void OricMFMDSK::store_updated_track_at_position(unsigned int head, unsigned int position, const std::shared_ptr<Track> &track, std::mutex &file_access_mutex)
|
||||
{
|
||||
Storage::Encodings::MFM::Parser parser(true, track);
|
||||
std::vector<uint8_t> parsed_track = parser.get_track((uint8_t)position);
|
||||
std::vector<uint8_t> parsed_track = parser.get_track(0);
|
||||
std::lock_guard<std::mutex> lock_guard(file_access_mutex);
|
||||
|
||||
long file_offset = get_file_offset_for_position(head, position);
|
||||
|
Loading…
x
Reference in New Issue
Block a user