public void Update(PreviousType type, MemoryDomain domain, bool bigEndian) { var value = MiniWordWatch.GetUshort(Address, domain, bigEndian); if (value != Previous) { ChangeCount++; } switch (type) { case PreviousType.Original: case PreviousType.LastSearch: break; case PreviousType.LastFrame: _previous = _prevFrame; break; case PreviousType.LastChange: if (_prevFrame != value) { _previous = _prevFrame; } break; } _prevFrame = value; }
public void SetPreviousToCurrent(MemoryDomain domain, bool bigEndian) { _previous = _prevFrame = MiniWordWatch.GetUshort(Address, domain, bigEndian); }