Move requiredSectors() to the base class.

This commit is contained in:
David Given
2022-09-13 00:32:04 +02:00
parent dce6248193
commit 6b7e81d7fb
10 changed files with 2 additions and 78 deletions

View File

@@ -173,12 +173,6 @@ public:
_sector->status = (wantChecksum == gotChecksum) ? Sector::OK : Sector::BAD_CHECKSUM;
}
std::set<unsigned> requiredSectors(const Location& location) const override
{
static std::set<unsigned> sectors = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 };
return sectors;
}
private:
const MicropolisDecoderProto& _config;
MicropolisDecoderProto_ChecksumType _checksumType; /* -1 = auto, 1 = Micropolis, 2=MZOS */