/[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	2013/06/03 17:43:12	475
+++ trunk/RomCheater/Docking/FloatingMemorySearcher.cs	2013/06/03 18:22:20	476
@@ -1776,7 +1776,7 @@
 
                 e.Result = st;
                 //List<ResultType<object>> tmp_Results = new List<ResultType<object>>();
-                List<ResultType<object>> second_tmp_Results = new List<ResultType<object>>();
+                List<ResultType<ulong>> second_tmp_Results = new List<ResultType<ulong>>();
                 //const int ElementsBeforeDisplay = 100;
                 SearchArgs.LogSearchOptions();
                 uint STEP_SIZE = (uint)SearchArgs.DataType / 8;
@@ -1915,7 +1915,7 @@
                                     {
 
                                         #region new comparator-support
-                                        second_tmp_Results = new List<ResultType<object>>(reader.GetResults(SearchArgs.IsUnsignedDataType, SearchArgs.DataType, new Action<int, string>(UpdateProgress)));
+                                        //second_tmp_Results = new List<StructResultType<object>>(reader.GetResults(SearchArgs.IsUnsignedDataType, SearchArgs.DataType, new Action<int, string>(UpdateProgress)));
                                         #endregion
 
                                         #region USE_OLD_SEARCH_RESULTS_COMPRATOR_CODE
@@ -2040,7 +2040,7 @@
                                                                 }
                                                                 if (comparer.Compare(lookup_value, value))
                                                                 {
-                                                                    second_tmp_Results.Add(new ResultType<object>(comparer.Address, comparer.Value));
+                                                                    second_tmp_Results.Add(new ResultType<ulong>(comparer.Address, comparer.Value));
                                                                 }
                                                             }
                                                         }
@@ -2075,7 +2075,7 @@
                                                                 }
                                                                 if (comparer.Compare(lookup_value, value))
                                                                 {
-                                                                    second_tmp_Results.Add(new ResultType<object>(comparer.Address, comparer.Value));
+                                                                    second_tmp_Results.Add(new ResultType<ulong>(comparer.Address, (ulong)comparer.Value));
                                                                 }
                                                             }
                                                         }
@@ -2115,7 +2115,7 @@
                                                                 }
                                                                 if (comparer.Compare(lookup_value, value))
                                                                 {
-                                                                    second_tmp_Results.Add(new ResultType<object>(comparer.Address, comparer.Value));
+                                                                    second_tmp_Results.Add(new ResultType<ulong>(comparer.Address, comparer.Value));
                                                                 }
                                                             }
                                                         }
@@ -2150,7 +2150,7 @@
                                                                 }
                                                                 if (comparer.Compare(lookup_value, value))
                                                                 {
-                                                                    second_tmp_Results.Add(new ResultType<object>(comparer.Address, comparer.Value));
+                                                                    second_tmp_Results.Add(new ResultType<ulong>(comparer.Address, (ulong)comparer.Value));
                                                                 }
                                                             }
                                                         }
@@ -2190,7 +2190,7 @@
                                                                 }
                                                                 if (comparer.Compare(lookup_value, value))
                                                                 {
-                                                                    second_tmp_Results.Add(new ResultType<object>(comparer.Address, comparer.Value));
+                                                                    second_tmp_Results.Add(new ResultType<ulong>(comparer.Address, comparer.Value));
                                                                 }
                                                             }
                                                         }
@@ -2225,7 +2225,7 @@
                                                                 }
                                                                 if (comparer.Compare(lookup_value, value))
                                                                 {
-                                                                    second_tmp_Results.Add(new ResultType<object>(comparer.Address, comparer.Value));
+                                                                    second_tmp_Results.Add(new ResultType<ulong>(comparer.Address, (ulong)comparer.Value));
                                                                 }
                                                             }
                                                         }
@@ -2265,7 +2265,7 @@
                                                                 }
                                                                 if (comparer.Compare(lookup_value, value))
                                                                 {
-                                                                    second_tmp_Results.Add(new ResultType<object>(comparer.Address, comparer.Value));
+                                                                    second_tmp_Results.Add(new ResultType<ulong>(comparer.Address, comparer.Value));
                                                                 }
                                                             }
                                                         }
@@ -2300,7 +2300,7 @@
                                                                 }
                                                                 if (comparer.Compare(lookup_value, value))
                                                                 {
-                                                                    second_tmp_Results.Add(new ResultType<object>(comparer.Address, comparer.Value));
+                                                                    second_tmp_Results.Add(new ResultType<ulong>(comparer.Address, (ulong)comparer.Value));
                                                                 }
                                                             }
                                                         }

 

  ViewVC Help
Powered by ViewVC 1.1.22