Allow imgimagewriter to write mixed-format disks; add an eco1 disk format for the VDS Eco1.

This commit is contained in:
David Given
2021-05-19 22:12:23 +02:00
parent 57fc787819
commit 8a136ac4f6
5 changed files with 89 additions and 21 deletions

View File

@@ -64,7 +64,8 @@ static void replace_sector(std::unique_ptr<Sector>& replacing, Sector& replaceme
void readDiskCommand(FluxSource& fluxsource, AbstractDecoder& decoder, ImageWriter& writer)
{
outputFluxSink = FluxSink::create(config.decoder().copy_flux_to());
if (config.decoder().has_copy_flux_to())
outputFluxSink = FluxSink::create(config.decoder().copy_flux_to());
bool failures = false;
SectorSet allSectors;