/[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

--- trunk/RomCheater/Docking/FloatingMemorySearcher.cs	2012/06/19 07:56:36	378
+++ trunk/RomCheater/Docking/FloatingMemorySearcher.cs	2012/06/19 09:30:48	382
@@ -76,7 +76,7 @@
 #if FORCE_USE_OF_MEMORYSIZECONSTANTS
             // force use of MemorySizeConstants
             txtMemoryRangeStart.Value = MemorySizeConstants.MinimumSearchAddress;
-            txtMemoryRangeSize.Value = (MemorySizeConstants.MinimumSearchAddress > 0) ? (uint)(MemorySizeConstants.MaximumSearchAddress - MemorySizeConstants.MinimumSearchAddress) : MemorySizeConstants.MaximumSearchAddress;
+            txtMemoryRangeSize.Value = MemorySizeConstants.MinimumSearchAddress + MemorySizeConstants.MaximumSearchSize;
 #endif
 #if USE_AUTOMATIC_MEMORY_SEARCH_RANGE && !FORCE_USE_OF_MEMORYSIZECONSTANTS
             ////// code to automatically choose the best starting memory address and size
@@ -125,7 +125,7 @@
             get
             {
 #if FORCE_USE_OF_MEMORYSIZECONSTANTS
-                return (MemorySizeConstants.MinimumSearchAddress > 0) ? (uint)(MemorySizeConstants.MaximumSearchAddress - MemorySizeConstants.MinimumSearchAddress) : MemorySizeConstants.MaximumSearchAddress;
+                return MemorySizeConstants.MinimumSearchAddress + MemorySizeConstants.MaximumSearchSize;
 #else
                 return _MemoryRangeSize;
 #endif
@@ -994,7 +994,7 @@
             e.Result = st;
             //List<ResultType<object>> tmp_Results = new List<ResultType<object>>();
             List<ResultType<object>> second_tmp_Results = new List<ResultType<object>>();
-            const double _UPDATE_DELAY = 1024.0;
+            const double _UPDATE_DELAY = 10240.0;
             int UPDATE_DELAY = (int)(_UPDATE_DELAY / 1000);
             //int UPDATE_DELAY = 1;
             //tmp_Results = SearchArgs.Results.GetRange(0,SearchArgs.Results.Count);

 

  ViewVC Help
Powered by ViewVC 1.1.22