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

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

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

--- trunk/RomCheater/Docking/FloatingMemorySearcher.cs	2013/05/28 12:03:10	424
+++ trunk/RomCheater/Docking/FloatingMemorySearcher.cs	2013/05/28 15:16:05	429
@@ -1134,8 +1134,8 @@
                 using (GenericMemoryProvider provider = new GenericMemoryProvider((IAcceptsProcessAndConfig)this))
                 {
                     provider.OpenProvider();
-                    int count = (int)(MemoryRangeSize - MemoryRangeStart) / (int)STEP_SIZE;
-                    SearchResultWriter writer = new SearchResultWriter(count);
+                    int count = (int)((MemoryRangeSize - MemoryRangeStart) / STEP_SIZE);
+                    SearchResultWriter writer = new SearchResultWriter((int)(count));
                     provider.OnBytesRead += new BaseEventHandler<OnBytesReadEventArgs>(search_provider_OnBytesRead);
                     provider.ReadProcessMemoryAtOnce(MemoryRangeStart, (MemoryRangeSize - MemoryRangeStart), writer);
                     provider.CloseProvider();

 

  ViewVC Help
Powered by ViewVC 1.1.22