Make the internal disk data structures all const, to allow us to pass them to

the GUI UI thread safely.
This commit is contained in:
David Given
2022-02-24 22:46:10 +01:00
parent 4a0fc3d566
commit eade2e279e
22 changed files with 331 additions and 276 deletions

View File

@@ -45,7 +45,7 @@ public:
};
public:
std::shared_ptr<TrackDataFlux> decodeToSectors(std::shared_ptr<const Fluxmap> fluxmap, unsigned cylinder, unsigned head);
std::shared_ptr<const TrackDataFlux> decodeToSectors(std::shared_ptr<const Fluxmap> fluxmap, unsigned cylinder, unsigned head);
void pushRecord(const Fluxmap::Position& start, const Fluxmap::Position& end);
void resetFluxDecoder();