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

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

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

--- trunk/RomCheater/Docking/MemorySearch/SearchPatcher.cs	2012/06/03 13:30:16	244
+++ trunk/RomCheater/Docking/MemorySearch/SearchPatcher.cs	2012/06/03 14:50:09	245
@@ -109,6 +109,7 @@
             uint Address = txtAddress.ToUInt32();
 
             GenericMemoryProvider provider = new GenericMemoryProvider((IAcceptsProcessAndConfig)this);
+            provider.OpenProvider();
             switch (DataType)
             {
                 case SearchDataTypes._8bits:
@@ -128,6 +129,7 @@
                     else { provider.PatchMemory(Address, txtValue.ToInt64()); }
                     break;
             }
+            provider.CloseProvider();
             this.Close();
         }
 

 

  ViewVC Help
Powered by ViewVC 1.1.22