ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/Win32/Sojaner.MemoryScanner/MemoryScanner.cs
(Generate patch)

Comparing trunk/Win32/Sojaner.MemoryScanner/MemoryScanner.cs (file contents):
Revision 203 by william, Thu May 31 09:03:53 2012 UTC vs.
Revision 204 by william, Thu May 31 09:08:24 2012 UTC

--- trunk/Win32/Sojaner.MemoryScanner/MemoryScanner.cs	2012/05/31 09:03:53	203
+++ trunk/Win32/Sojaner.MemoryScanner/MemoryScanner.cs	2012/05/31 09:08:24	204
@@ -196,9 +196,9 @@ namespace Sojaner.MemoryScanner
             {
                 //logger.Info.WriteLine("Dumping memory (0x{0:x8}-0x{1:x8}) from pid=({2})", MemoryAddress, MemoryAddress + bytesToRead, string.Format("0x{0:x4} {1}.exe", ppid.Id, ppid.ProcessName));
                 bytesRead = 0;
-                uint byte_alignment = 0;
+                uint byte_alignment = 1;
                 // get common init parameters
-                InitMemoryDump(out byte_alignment);
+                //InitMemoryDump(out byte_alignment);
                 uint address = MemoryAddress;
                 uint _bytesToRead = bytesToRead;
                 byte[] buffer = new byte[] { };