1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-20 10:17:05 +00:00

Fixes CRC generator used to verify Acorn programs.

This commit is contained in:
Thomas Harte
2018-07-10 20:01:31 -04:00
parent a0f817108e
commit e8f847d288
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ namespace {
const int PLLClockRate = 1920000;
}
Parser::Parser() {
Parser::Parser(): crc_(0x1021) {
shifter_.set_delegate(this);
}
+1 -1
View File
@@ -63,7 +63,7 @@ class Parser: public Storage::Tape::Parser<SymbolType>, public Shifter::Delegate
private:
bool did_update_shifter(int new_value, int length);
CRC::CCITT crc_;
CRC::Generator<uint16_t, 0x0000, 0x0000, false, false> crc_;
Shifter shifter_;
};