/[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/20 10:41:25	395
+++ trunk/RomCheater/Docking/FloatingMemorySearcher.cs	2012/06/20 10:51:25	396
@@ -1362,11 +1362,11 @@
                     {
                         uint address = SearchArgs.Results[i].Address;
                         if (MemoryRangeStart > 0 && !SearchArgs.IsFirstSearch) { address = address - MemoryRangeStart; }
-                        //r_ms.BaseStream.Seek(address, SeekOrigin.Begin);
+                        r_ms.BaseStream.Seek(address, SeekOrigin.Begin);
                         if (SearchArgs.CompareType == SearchCompareTypes.Between)
                         {
                             InRangeComparer comparer = new InRangeComparer(address, 0);
-                            if (comparer.Compare(start, end, SearchArgs.DataType, SearchArgs.IsUnsignedDataType, buffered_mem))
+                            if (comparer.Compare(start, end, SearchArgs.DataType, SearchArgs.IsUnsignedDataType, r_ms))
                             {
                                 SearchArgs.Results[i].Value = comparer.Value;
                                 second_tmp_Results.Add(SearchArgs.Results[i]);
@@ -1376,7 +1376,7 @@
                         else if (SearchArgs.CompareType == SearchCompareTypes.NotBetween)
                         {
                             NotInRangeComparer comparer = new NotInRangeComparer(address, 0);
-                            if (comparer.Compare(start, end, SearchArgs.DataType, SearchArgs.IsUnsignedDataType, buffered_mem))
+                            if (comparer.Compare(start, end, SearchArgs.DataType, SearchArgs.IsUnsignedDataType, r_ms))
                             {
                                 SearchArgs.Results[i].Value = comparer.Value;
                                 second_tmp_Results.Add(SearchArgs.Results[i]);

 

  ViewVC Help
Powered by ViewVC 1.1.22