/[RomCheater]/trunk/RomCheater/Docking/FloatingRamDumperDialog.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/FloatingRamDumperDialog.cs

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

revision 197 by william, Thu May 31 05:52:41 2012 UTC revision 198 by william, Thu May 31 07:13:43 2012 UTC
# Line 165  namespace RomCheater.Docking Line 165  namespace RomCheater.Docking
165              reader.ReadProcess = this.AcceptedProcess;              reader.ReadProcess = this.AcceptedProcess;
166              reader.OpenProcess();              reader.OpenProcess();
167              int bytesReadSize;              int bytesReadSize;
168              if (reader.DumpMemory(this.AcceptedProcess,filename, (uint)start, count, out bytesReadSize))              if (reader.WriteProcessMemoryToFile(filename, (uint)start, count, out bytesReadSize))
169              {              {
170                  MessageBox.Show(string.Format("Succefully dumped memory (0x{0:x8}-0x{1:x8}) from pid=({3}) to file {2}", start, start + count, filename, string.Format("0x{0:x4} {1}.exe", this.AcceptedProcess.Id, AcceptedProcess.ProcessName)), "", MessageBoxButtons.OK, MessageBoxIcon.Information);                  MessageBox.Show(string.Format("Succefully dumped memory (0x{0:x8}-0x{1:x8}) from pid=({3}) to file {2}", start, start + count, filename, string.Format("0x{0:x4} {1}.exe", this.AcceptedProcess.Id, AcceptedProcess.ProcessName)), "", MessageBoxButtons.OK, MessageBoxIcon.Information);
171              }              }

Legend:
Removed from v.197  
changed lines
  Added in v.198

  ViewVC Help
Powered by ViewVC 1.1.22