Plumb the verifier stuff through the rest of the encoders; fix it to actually

work and not crash, god I hate C++.
This commit is contained in:
David Given
2021-07-19 21:46:48 +02:00
parent b887bebb26
commit 13deef3416
9 changed files with 157 additions and 29 deletions

View File

@@ -121,7 +121,8 @@ public:
return sectors;
}
std::unique_ptr<Fluxmap> encode(int physicalTrack, int physicalSide, const Image& image) override
std::unique_ptr<Fluxmap> encode(int physicalTrack, int physicalSide,
const std::vector<std::shared_ptr<Sector>>& sectors, const Image& image) override
{
if ((physicalTrack < 0) || (physicalTrack >= AMIGA_TRACKS_PER_DISK))
return std::unique_ptr<Fluxmap>();