/[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

revision 244 by william, Sun Jun 3 13:21:51 2012 UTC revision 245 by william, Sun Jun 3 14:50:09 2012 UTC
# Line 109  namespace RomCheater.Docking.MemorySearc Line 109  namespace RomCheater.Docking.MemorySearc
109              uint Address = txtAddress.ToUInt32();              uint Address = txtAddress.ToUInt32();
110    
111              GenericMemoryProvider provider = new GenericMemoryProvider((IAcceptsProcessAndConfig)this);              GenericMemoryProvider provider = new GenericMemoryProvider((IAcceptsProcessAndConfig)this);
112                provider.OpenProvider();
113              switch (DataType)              switch (DataType)
114              {              {
115                  case SearchDataTypes._8bits:                  case SearchDataTypes._8bits:
# Line 128  namespace RomCheater.Docking.MemorySearc Line 129  namespace RomCheater.Docking.MemorySearc
129                      else { provider.PatchMemory(Address, txtValue.ToInt64()); }                      else { provider.PatchMemory(Address, txtValue.ToInt64()); }
130                      break;                      break;
131              }              }
132                provider.CloseProvider();
133              this.Close();              this.Close();
134          }          }
135    

Legend:
Removed from v.244  
changed lines
  Added in v.245

  ViewVC Help
Powered by ViewVC 1.1.22