/[RomCheater]/trunk/Win32/Sojaner.MemoryScanner/MemoryScanner.cs
ViewVC logotype

Diff of /trunk/Win32/Sojaner.MemoryScanner/MemoryScanner.cs

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

revision 253 by william, Sun Jun 3 16:09:05 2012 UTC revision 254 by william, Sun Jun 3 16:44:42 2012 UTC
# Line 237  namespace Sojaner.MemoryScanner Line 237  namespace Sojaner.MemoryScanner
237          {          {
238              try              try
239              {              {
240                  byte[] buffer = new byte[] { };                  byte[] buffer = new byte[bytesToRead];
241                  IntPtr ptrBytesRead;                  IntPtr ptrBytesRead;
242                  ProcessMemoryReader.ProcessMemoryReaderApi.ReadProcessMemory(m_hProcess, (IntPtr)MemoryAddress, buffer, bytesToRead, out ptrBytesRead);                  ProcessMemoryReader.ProcessMemoryReaderApi.ReadProcessMemory(m_hProcess, (IntPtr)MemoryAddress, buffer, bytesToRead, out ptrBytesRead);
243                  bytesRead = ptrBytesRead.ToInt32();                  bytesRead = ptrBytesRead.ToInt32();

Legend:
Removed from v.253  
changed lines
  Added in v.254

  ViewVC Help
Powered by ViewVC 1.1.22