/[RomCheater]/trunk/Win32/Sojaner.MemoryScanner/MemoryProviers/BaseMemoryProvider.cs
ViewVC logotype

Diff of /trunk/Win32/Sojaner.MemoryScanner/MemoryProviers/BaseMemoryProvider.cs

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

revision 599 by william, Fri Jun 7 09:55:01 2013 UTC revision 600 by william, Fri Jun 7 10:27:53 2013 UTC
# Line 20  using System.Diagnostics; Line 20  using System.Diagnostics;
20  using RomCheater.PluginFramework.Interfaces;  using RomCheater.PluginFramework.Interfaces;
21  using System.IO;  using System.IO;
22  using RomCheater.PluginFramework.Events;  using RomCheater.PluginFramework.Events;
23    using ManagedWinapi;
24    
25  namespace Sojaner.MemoryScanner.MemoryProviers  namespace Sojaner.MemoryScanner.MemoryProviers
26  {  {
# Line 276  namespace Sojaner.MemoryScanner.MemoryPr Line 277  namespace Sojaner.MemoryScanner.MemoryPr
277    
278          #region IMemoryReader member          #region IMemoryReader member
279          #region public void QueryMemoryRegion()          #region public void QueryMemoryRegion()
280          public void QueryMemoryRegions()          public List<MEMORY_REGION_INFORMATION> QueryMemoryRegions(ulong start, ulong size)
281          {          {
282              if (!EnsureProviderIsOpen()) { return; }              if (!EnsureProviderIsOpen()) { return new List<MEMORY_REGION_INFORMATION>(); }
283              try { provider.QueryMemoryRegions(); }              try { return provider.QueryMemoryRegions(start,size); }
284              catch { }              catch { return new List<MEMORY_REGION_INFORMATION>(); }
285          }          }
286          #endregion          #endregion
287          #region public virtual bool ReadFirstNonZeroByte(int MemoryAddress, uint bytesToRead, out int address)          #region public virtual bool ReadFirstNonZeroByte(int MemoryAddress, uint bytesToRead, out int address)

Legend:
Removed from v.599  
changed lines
  Added in v.600

  ViewVC Help
Powered by ViewVC 1.1.22