ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater/Docking/UI/UIMemoryViewer.cs
(Generate patch)

Comparing trunk/RomCheater/Docking/UI/UIMemoryViewer.cs (file contents):
Revision 408 by william, Wed Jun 20 13:24:49 2012 UTC vs.
Revision 409 by william, Thu Jun 21 20:02:40 2012 UTC

--- trunk/RomCheater/Docking/UI/UIMemoryViewer.cs	2012/06/21 18:10:21	408
+++ trunk/RomCheater/Docking/UI/UIMemoryViewer.cs	2012/06/21 20:02:40	409
@@ -297,6 +297,9 @@ namespace RomCheater.Docking.UI
         private void UpdateMemroyView() { this.UpdateMemroyView(this.CURRENT_TOP_ADDR); }
         private void UpdateMemroyView(uint address)
         {
+            bool SearchInProgress = false;
+            if (this.AcceptedPlugin != null) { SearchInProgress = this.AcceptedPlugin.SearchInProgess; }
+            if (SearchInProgress) return;
             try
             {
                 if (AcceptedProcess == null) { return; }
@@ -334,7 +337,7 @@ namespace RomCheater.Docking.UI
                                     byte t;
                                     if (!gmp.ReadMemory(current_real_address, out t)) { ascii_value = '?'; }
                                     gmp.CloseProvider();
-                                }
+                                }                                
                                 builder.Append(ascii_value.ToString());
                             }
                             builder.AppendLine();