diff --git a/Storage/Tape/Parsers/Acorn.cpp b/Storage/Tape/Parsers/Acorn.cpp index 35a4dc79e..dc5193e7f 100644 --- a/Storage/Tape/Parsers/Acorn.cpp +++ b/Storage/Tape/Parsers/Acorn.cpp @@ -14,7 +14,7 @@ namespace { const int PLLClockRate = 1920000; } -Parser::Parser() { +Parser::Parser(): crc_(0x1021) { shifter_.set_delegate(this); } diff --git a/Storage/Tape/Parsers/Acorn.hpp b/Storage/Tape/Parsers/Acorn.hpp index b6f870674..937873b64 100644 --- a/Storage/Tape/Parsers/Acorn.hpp +++ b/Storage/Tape/Parsers/Acorn.hpp @@ -63,7 +63,7 @@ class Parser: public Storage::Tape::Parser, public Shifter::Delegate private: bool did_update_shifter(int new_value, int length); - CRC::CCITT crc_; + CRC::Generator crc_; Shifter shifter_; };