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

Comparing trunk/RomCheater/Docking/FloatingMemorySearcher.cs (file contents):
Revision 428 by william, Tue May 28 12:03:10 2013 UTC vs.
Revision 429 by william, Tue May 28 15:16:05 2013 UTC

# Line 1134 | Line 1134 | namespace RomCheater.Docking
1134                  using (GenericMemoryProvider provider = new GenericMemoryProvider((IAcceptsProcessAndConfig)this))
1135                  {
1136                      provider.OpenProvider();
1137 <                    int count = (int)(MemoryRangeSize - MemoryRangeStart) / (int)STEP_SIZE;
1138 <                    SearchResultWriter writer = new SearchResultWriter(count);
1137 >                    int count = (int)((MemoryRangeSize - MemoryRangeStart) / STEP_SIZE);
1138 >                    SearchResultWriter writer = new SearchResultWriter((int)(count));
1139                      provider.OnBytesRead += new BaseEventHandler<OnBytesReadEventArgs>(search_provider_OnBytesRead);
1140                      provider.ReadProcessMemoryAtOnce(MemoryRangeStart, (MemoryRangeSize - MemoryRangeStart), writer);
1141                      provider.CloseProvider();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines