diff options
Diffstat (limited to 'src/devices/mem24/gui')
-rw-r--r-- | src/devices/mem24/gui/mem24_hex_view.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/mem24/gui/mem24_hex_view.cpp b/src/devices/mem24/gui/mem24_hex_view.cpp index 7ded854..7c30e9f 100644 --- a/src/devices/mem24/gui/mem24_hex_view.cpp +++ b/src/devices/mem24/gui/mem24_hex_view.cpp @@ -34,5 +34,5 @@ BitValue Mem24::HexView::checksum() const BitValue cs = 0x0000; for (uint i=0; i<static_cast<const Data &>(_memory->device()).nbBytes(); i++) cs += static_cast<const Memory *>(_memory)->byte(i); - return cs.tqmaskWith(0xFFFF); + return cs.maskWith(0xFFFF); } |