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

--- trunk/Win32/Sojaner.MemoryScanner/MemoryScanner.cs	2013/06/03 22:07:07	492
+++ trunk/Win32/Sojaner.MemoryScanner/MemoryScanner.cs	2013/06/03 22:18:34	493
@@ -712,7 +712,7 @@
                 byte[] bitData = new byte[size];
                 using (ProcessMemoryChunk mem = new ProcessMemoryChunk(m_ReadProcess, (IntPtr)address, (int)size))
                 {
-                    mem.Read(0, (int)size);
+                    bitData = mem.Read(0, (int)size);
                 }                
                 //if (bytesRead == 0)
                 //    return false;
@@ -737,7 +737,7 @@
                 byte[] bitData = new byte[size];
                 using (ProcessMemoryChunk mem = new ProcessMemoryChunk(m_ReadProcess, (IntPtr)address, (int)size))
                 {
-                    mem.Read(0, (int)size);
+                    bitData = mem.Read(0, (int)size);
                 }  
                 //if (bytesRead == 0)
                 //    return false;
@@ -762,7 +762,7 @@
                 byte[] bitData = new byte[size];
                 using (ProcessMemoryChunk mem = new ProcessMemoryChunk(m_ReadProcess, (IntPtr)address, (int)size))
                 {
-                    mem.Read(0, (int)size);
+                    bitData = mem.Read(0, (int)size);
                 }  
                 //if (bytesRead == 0)
                 //    return false;
@@ -787,7 +787,7 @@
                 byte[] bitData = new byte[size];
                 using (ProcessMemoryChunk mem = new ProcessMemoryChunk(m_ReadProcess, (IntPtr)address, (int)size))
                 {
-                    mem.Read(0, (int)size);
+                    bitData = mem.Read(0, (int)size);
                 }  
                 //if (bytesRead == 0)
                 //    return false;
@@ -812,7 +812,7 @@
                 byte[] bitData = new byte[size];
                 using (ProcessMemoryChunk mem = new ProcessMemoryChunk(m_ReadProcess, (IntPtr)address, (int)size))
                 {
-                    mem.Read(0, (int)size);
+                    bitData = mem.Read(0, (int)size);
                 }  
                 //if (bytesRead == 0)
                 //    return false;
@@ -837,7 +837,7 @@
                 byte[] bitData = new byte[size];
                 using (ProcessMemoryChunk mem = new ProcessMemoryChunk(m_ReadProcess, (IntPtr)address, (int)size))
                 {
-                    mem.Read(0, (int)size);
+                    bitData = mem.Read(0, (int)size);
                 }  
                 //if (bytesRead == 0)
                 //    return false;
@@ -862,7 +862,7 @@
                 byte[] bitData = new byte[size];
                 using (ProcessMemoryChunk mem = new ProcessMemoryChunk(m_ReadProcess, (IntPtr)address, (int)size))
                 {
-                    mem.Read(0, (int)size);
+                    bitData = mem.Read(0, (int)size);
                 }  
                 //if (bytesRead == 0)
                 //    return false;
@@ -887,7 +887,7 @@
                 byte[] bitData = new byte[size];
                 using (ProcessMemoryChunk mem = new ProcessMemoryChunk(m_ReadProcess, (IntPtr)address, (int)size))
                 {
-                    mem.Read(0, (int)size);
+                    bitData = mem.Read(0, (int)size);
                 }  
                 //if (bytesRead == 0)
                 //    return false;

 

  ViewVC Help
Powered by ViewVC 1.1.22