/[RomCheater]/trunk/RomCheater/Docking/UI/UIMemoryViewer.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/UI/UIMemoryViewer.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/RomCheater/Docking/UI/UIMemoryViewer.cs	2013/05/28 11:58:22	423
+++ trunk/RomCheater/Docking/UI/UIMemoryViewer.cs	2013/05/28 12:03:10	424
@@ -268,7 +268,7 @@
                     provider.OpenProvider();
                     int bytesReadSize;
                     provider.ReadProcessMemory(CURRENT_TOP_ADDR, (uint)max_ram_view, out bytesReadSize, out data);
-                    //provider.CloseProvider();
+                    provider.CloseProvider();
                 }
             }
             catch (Exception ex)
@@ -327,7 +327,7 @@
                                     gmp.OpenProvider();
                                     byte t;
                                     if (!gmp.ReadMemory(current_real_address, out t)) { ascii_value = '?'; }
-                                    //gmp.CloseProvider();
+                                    gmp.CloseProvider();
                                 }                                
                                 builder.Append(ascii_value.ToString());
                             }
@@ -375,7 +375,7 @@
                     //    byte data_to_write = data[i];
 
                     //}
-                    //provider.CloseProvider();
+                    provider.CloseProvider();
                 }
             }
             catch (Exception ex) { logger.Error.WriteLine("{0}.WriteCurrentBytes():{1}{2}", this.GetType().Name, System.Environment.NewLine, ex.ToString()); }

 

  ViewVC Help
Powered by ViewVC 1.1.22