/[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/05 02:02:08	515
+++ trunk/RomCheater/Docking/FloatingMemorySearcher.cs	2013/06/05 03:23:27	516
@@ -1438,14 +1438,13 @@
                     int int_percent_done = (int)double_percent_done;
 
                     //int align_base = 1000;
-                    //int align_magnitude = 1000;
+                    //int align_magnitude = 1;
                     //int alignment = align_base * align_magnitude;
-                    //if (int_percent_done != Last_Whole_Percent_Done && (CurrentIndex % alignment) == 0)
-                    if (int_percent_done != Last_Whole_Percent_Done)// && (CurrentIndex % alignment) == 0)
+                    if ((int_percent_done != Last_Whole_Percent_Done) )// && (CurrentIndex % alignment) == 0)
                     {
                         if (int_percent_done <= 100)
                         {
-                            string message = string.Format(" -> Reading Address: 0x{0:x8} - 0x{1:x8}", (CurrentIndex + MemoryRangeStart), (CurrentIndex + MemoryRangeStart) + e.Data.Length);
+                            string message = string.Format(" -> Reading Address: 0x{0:x8} of 0x{1:x8}", (CurrentIndex + MemoryRangeStart), (CurrentIndex + MemoryRangeStart) + e.Data.Length);
                             //UpdateProgress(int_percent_done, message);
                             new Action<int, string>(UpdateProgress).Invoke(int_percent_done, message);
                             Last_Whole_Percent_Done = int_percent_done;
@@ -1453,6 +1452,7 @@
                         if (SearchWorkerThread.CancellationPending) { e.Canceled = true; return; }
                     }
                 }
+
                 using (MemoryStream ms = new MemoryStream(e.Data))
                 {
                     using (BinaryReader br = new BinaryReader(ms))

 

  ViewVC Help
Powered by ViewVC 1.1.22