/[RomCheater]/trunk/RomCheater/Docking/FloatingMemorySearcher.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/FloatingMemorySearcher.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 378 by william, Tue Jun 19 07:56:36 2012 UTC revision 382 by william, Tue Jun 19 09:30:48 2012 UTC
# Line 76  namespace RomCheater.Docking Line 76  namespace RomCheater.Docking
76  #if FORCE_USE_OF_MEMORYSIZECONSTANTS  #if FORCE_USE_OF_MEMORYSIZECONSTANTS
77              // force use of MemorySizeConstants              // force use of MemorySizeConstants
78              txtMemoryRangeStart.Value = MemorySizeConstants.MinimumSearchAddress;              txtMemoryRangeStart.Value = MemorySizeConstants.MinimumSearchAddress;
79              txtMemoryRangeSize.Value = (MemorySizeConstants.MinimumSearchAddress > 0) ? (uint)(MemorySizeConstants.MaximumSearchAddress - MemorySizeConstants.MinimumSearchAddress) : MemorySizeConstants.MaximumSearchAddress;              txtMemoryRangeSize.Value = MemorySizeConstants.MinimumSearchAddress + MemorySizeConstants.MaximumSearchSize;
80  #endif  #endif
81  #if USE_AUTOMATIC_MEMORY_SEARCH_RANGE && !FORCE_USE_OF_MEMORYSIZECONSTANTS  #if USE_AUTOMATIC_MEMORY_SEARCH_RANGE && !FORCE_USE_OF_MEMORYSIZECONSTANTS
82              ////// code to automatically choose the best starting memory address and size              ////// code to automatically choose the best starting memory address and size
# Line 125  namespace RomCheater.Docking Line 125  namespace RomCheater.Docking
125              get              get
126              {              {
127  #if FORCE_USE_OF_MEMORYSIZECONSTANTS  #if FORCE_USE_OF_MEMORYSIZECONSTANTS
128                  return (MemorySizeConstants.MinimumSearchAddress > 0) ? (uint)(MemorySizeConstants.MaximumSearchAddress - MemorySizeConstants.MinimumSearchAddress) : MemorySizeConstants.MaximumSearchAddress;                  return MemorySizeConstants.MinimumSearchAddress + MemorySizeConstants.MaximumSearchSize;
129  #else  #else
130                  return _MemoryRangeSize;                  return _MemoryRangeSize;
131  #endif  #endif
# Line 994  namespace RomCheater.Docking Line 994  namespace RomCheater.Docking
994              e.Result = st;              e.Result = st;
995              //List<ResultType<object>> tmp_Results = new List<ResultType<object>>();              //List<ResultType<object>> tmp_Results = new List<ResultType<object>>();
996              List<ResultType<object>> second_tmp_Results = new List<ResultType<object>>();              List<ResultType<object>> second_tmp_Results = new List<ResultType<object>>();
997              const double _UPDATE_DELAY = 1024.0;              const double _UPDATE_DELAY = 10240.0;
998              int UPDATE_DELAY = (int)(_UPDATE_DELAY / 1000);              int UPDATE_DELAY = (int)(_UPDATE_DELAY / 1000);
999              //int UPDATE_DELAY = 1;              //int UPDATE_DELAY = 1;
1000              //tmp_Results = SearchArgs.Results.GetRange(0,SearchArgs.Results.Count);              //tmp_Results = SearchArgs.Results.GetRange(0,SearchArgs.Results.Count);

Legend:
Removed from v.378  
changed lines
  Added in v.382

  ViewVC Help
Powered by ViewVC 1.1.22