/[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/06 05:52:19	566
+++ trunk/RomCheater/Docking/FloatingMemorySearcher.cs	2013/06/06 06:06:32	567
@@ -1595,7 +1595,7 @@
                                             foreach (var Value in t_data)
                                             {
                                                 string inner_message = string.Format(" -> Parsing value @ Address: 0x{0:x8}", address_index);
-                                                double inner_double_percent_done = 100.0 * (double)((double)address_index / (double)reader_addresses.Length);
+                                                double inner_double_percent_done = 100.0 * (double)((double)address_index / (double)MemoryRangeSize);
                                                 int inner_int_percent_done = (int)inner_double_percent_done;
                                                 if ((inner_int_percent_done != inner_Last_Whole_Percent_Done))// && (address_index % 10000) == 0)
                                                 {
@@ -1648,8 +1648,8 @@
                                             var t_data = data;
                                             foreach (var Value in t_data)
                                             {
-                                                string inner_message = string.Format(" -> Parsing value @ Address: 0x{0:x8}", address_index);
-                                                double inner_double_percent_done = 100.0 * (double)((double)address_index / (double)reader_addresses.Length);
+                                                string inner_message = string.Format(" -> Parsing value @ Address: 0x{0:x8} of 0x{1:x8}", address_index, MemoryRangeSize);
+                                                double inner_double_percent_done = 100.0 * (double)((double)address_index / (double)MemoryRangeSize);
                                                 int inner_int_percent_done = (int)inner_double_percent_done;
                                                 if ((inner_int_percent_done != inner_Last_Whole_Percent_Done))// && (address_index % 10000) == 0)
                                                 {
@@ -1704,7 +1704,7 @@
                                             foreach (var Value in t_data)
                                             {
                                                 string inner_message = string.Format(" -> Parsing value @ Address: 0x{0:x8}", address_index);
-                                                double inner_double_percent_done = 100.0 * (double)((double)address_index / (double)reader_addresses.Length);
+                                                double inner_double_percent_done = 100.0 * (double)((double)address_index / (double)MemoryRangeSize);
                                                 int inner_int_percent_done = (int)inner_double_percent_done;
                                                 if ((inner_int_percent_done != inner_Last_Whole_Percent_Done))// && (address_index % 10000) == 0)
                                                 {
@@ -1758,7 +1758,7 @@
                                             foreach (var Value in t_data)
                                             {
                                                 string inner_message = string.Format(" -> Parsing value @ Address: 0x{0:x8}", address_index);
-                                                double inner_double_percent_done = 100.0 * (double)((double)address_index / (double)reader_addresses.Length);
+                                                double inner_double_percent_done = 100.0 * (double)((double)address_index / (double)MemoryRangeSize);
                                                 int inner_int_percent_done = (int)inner_double_percent_done;
                                                 if ((inner_int_percent_done != inner_Last_Whole_Percent_Done))// && (address_index % 10000) == 0)
                                                 {
@@ -1813,7 +1813,7 @@
                                             foreach (var Value in t_data)
                                             {
                                                 string inner_message = string.Format(" -> Parsing value @ Address: 0x{0:x8}", address_index);
-                                                double inner_double_percent_done = 100.0 * (double)((double)address_index / (double)reader_addresses.Length);
+                                                double inner_double_percent_done = 100.0 * (double)((double)address_index / (double)MemoryRangeSize);
                                                 int inner_int_percent_done = (int)inner_double_percent_done;
                                                 if ((inner_int_percent_done != inner_Last_Whole_Percent_Done))// && (address_index % 10000) == 0)
                                                 {
@@ -1867,7 +1867,7 @@
                                             foreach (var Value in t_data)
                                             {
                                                 string inner_message = string.Format(" -> Parsing value @ Address: 0x{0:x8}", address_index);
-                                                double inner_double_percent_done = 100.0 * (double)((double)address_index / (double)reader_addresses.Length);
+                                                double inner_double_percent_done = 100.0 * (double)((double)address_index / (double)MemoryRangeSize);
                                                 int inner_int_percent_done = (int)inner_double_percent_done;
                                                 if ((inner_int_percent_done != inner_Last_Whole_Percent_Done))// && (address_index % 10000) == 0)
                                                 {
@@ -1922,7 +1922,7 @@
                                             foreach (var Value in t_data)
                                             {
                                                 string inner_message = string.Format(" -> Parsing value @ Address: 0x{0:x8}", address_index);
-                                                double inner_double_percent_done = 100.0 * (double)((double)address_index / (double)reader_addresses.Length);
+                                                double inner_double_percent_done = 100.0 * (double)((double)address_index / (double)MemoryRangeSize);
                                                 int inner_int_percent_done = (int)inner_double_percent_done;
                                                 if ((inner_int_percent_done != inner_Last_Whole_Percent_Done))// && (address_index % 10000) == 0)
                                                 {
@@ -1976,7 +1976,7 @@
                                             foreach (var Value in t_data)
                                             {
                                                 string inner_message = string.Format(" -> Parsing value @ Address: 0x{0:x8}", address_index);
-                                                double inner_double_percent_done = 100.0 * (double)((double)address_index / (double)reader_addresses.Length);
+                                                double inner_double_percent_done = 100.0 * (double)((double)address_index / (double)MemoryRangeSize);
                                                 int inner_int_percent_done = (int)inner_double_percent_done;
                                                 if ((inner_int_percent_done != inner_Last_Whole_Percent_Done))// && (address_index % 10000) == 0)
                                                 {

 

  ViewVC Help
Powered by ViewVC 1.1.22