public void Update(PreviousType type, MemoryDomain domain, bool bigEndian) { var value = MiniByteWatch.GetByte(Address, domain); if (value != _prevFrame) { 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 bool IsValid(MemoryDomain domain) => MiniByteWatch.IsValid(Address, domain);
public void SetPreviousToCurrent(MemoryDomain domain, bool bigEndian) { _previous = _prevFrame = MiniByteWatch.GetByte(Address, domain); }