コード例 #1
0
        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;
        }
コード例 #2
0
 public bool IsValid(MemoryDomain domain) => MiniByteWatch.IsValid(Address, domain);
コード例 #3
0
 public void SetPreviousToCurrent(MemoryDomain domain, bool bigEndian)
 {
     _previous = _prevFrame = MiniByteWatch.GetByte(Address, domain);
 }