mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-13 22:32:03 +00:00
Fixes CRC generator used to verify Acorn programs.
This commit is contained in:
parent
a0f817108e
commit
e8f847d288
@ -14,7 +14,7 @@ namespace {
|
||||
const int PLLClockRate = 1920000;
|
||||
}
|
||||
|
||||
Parser::Parser() {
|
||||
Parser::Parser(): crc_(0x1021) {
|
||||
shifter_.set_delegate(this);
|
||||
}
|
||||
|
||||
|
@ -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_;
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user