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 492 by william, Mon Jun 3 18:35:45 2013 UTC vs.
Revision 493 by william, Mon Jun 3 22:18:34 2013 UTC

--- 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 @@ namespace Sojaner.MemoryScanner
                 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 @@ namespace Sojaner.MemoryScanner
                 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 @@ namespace Sojaner.MemoryScanner
                 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 @@ namespace Sojaner.MemoryScanner
                 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 @@ namespace Sojaner.MemoryScanner
                 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 @@ namespace Sojaner.MemoryScanner
                 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 @@ namespace Sojaner.MemoryScanner
                 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 @@ namespace Sojaner.MemoryScanner
                 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;