/[RomCheater]/trunk/RomCheater/Docking/MemorySearch/RangedComparer.cs
ViewVC logotype

Contents of /trunk/RomCheater/Docking/MemorySearch/RangedComparer.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 280 - (show annotations) (download)
Tue Jun 5 00:13:29 2012 UTC (8 years, 4 months ago) by william
File size: 716 byte(s)
+ import search code from PCSX2 Ram Dump (no need to re-invent the wheel...plus it cuts down on code refactoring time)

1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5
6 namespace RomCheater.Docking.MemorySearch
7 {
8 public class RangedComparer<T> : ICompareValue<T>, ICompareAddress
9 {
10 public RangedComparer(int address, T value)
11 {
12 this.Address = address;
13 this.Value = value;
14 }
15 #region ICompareValue<T> Members
16 private T _Value;
17 public T Value { get { return _Value; } set { _Value = value; } }
18 #endregion
19
20 #region ICompareAddress Members
21 private int _Address;
22 public int Address { get { return _Address; } set { _Address = value; } }
23 #endregion
24 }
25 }

  ViewVC Help
Powered by ViewVC 1.1.22