/[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 00:34:31	454
+++ trunk/RomCheater/Docking/FloatingMemorySearcher.cs	2013/06/03 01:45:40	456
@@ -1212,7 +1212,6 @@
                                                 }
                                             }
                                             #endregion
-                                            writer.WriteResult<short>(CurrentIndex, br.ReadInt16());
                                         } break;
                                     case SearchDataTypes._32bits:
                                         if (unsigned)
@@ -1366,7 +1365,7 @@
                             catch (EndOfStreamException) { }
                             double double_percent_done = 100.0 * (double)((double)CurrentIndex / (double)e.TotalCount);
                             int int_percent_done = (int)double_percent_done;
-                            if (int_percent_done != Last_Whole_Percent_Done && (((double)Last_Whole_Percent_Done / 2.0) == (int)((double)Last_Whole_Percent_Done / 2.0)))
+                            if (int_percent_done != Last_Whole_Percent_Done && CurrentIndex % 100000 == 0)
                             {
                                 if (int_percent_done <= 100)
                                 {
@@ -1439,7 +1438,7 @@
                 provider_st.Stop();
                 logger.Profiler.WriteLine("It took a total of {0} seconds for the memory provider to complete it's operation(s).", provider_st.Elapsed.TotalSeconds);
                 //if (buffered_mem.Length == 0) { logger.Warn.WriteLine("Buffered Memory is Zero Length."); return; }            
-                int Last_Whole_Percent_Done = 0;
+                //int Last_Whole_Percent_Done = 0;
 
 
                 #region Subsequent Searches
@@ -1893,7 +1892,7 @@
                         }
                         st_nonrange_search.Stop();
                         logger.Profiler.WriteLine("Non-Ranged search took a total of {0} seconds to complete.", st_nonrange_search.Elapsed.TotalSeconds);
-                        Last_Whole_Percent_Done = 0;
+                        //Last_Whole_Percent_Done = 0;
                         #endregion
                     }
                     #region Ranged Searches

 

  ViewVC Help
Powered by ViewVC 1.1.22