/[RomCheater]/trunk/RomCheater/Docking/MemorySearch/AddressValuePairList.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/MemorySearch/AddressValuePairList.cs

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

--- trunk/RomCheater/Docking/MemorySearch/AddressValuePairList.cs	2012/06/03 13:30:16	244
+++ trunk/RomCheater/Docking/MemorySearch/AddressValuePairList.cs	2012/06/03 14:50:09	245
@@ -483,7 +483,8 @@
                 {
                     iter = (ResultItem)this.Items[index];
                 }
-                GenericMemoryProvider provider = new GenericMemoryProvider((IAcceptsProcessAndConfig)this);            
+                GenericMemoryProvider provider = new GenericMemoryProvider((IAcceptsProcessAndConfig)this);
+                provider.OpenProvider();
                 ResultDataType result = (ResultDataType)iter.Tag;
                 uint Address = result.Address;
                 byte[] bitData = new byte[] { };
@@ -506,6 +507,7 @@
                         else { provider.PatchMemory(Address, Convert.ToInt64(result.Value)); }
                         break;
                 }
+                provider.CloseProvider();
             }
         }
 

 

  ViewVC Help
Powered by ViewVC 1.1.22