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

Comparing trunk/RomCheater/Docking/UI/UIMemoryViewer.cs (file contents):
Revision 398 by william, Wed Jun 20 12:16:34 2012 UTC vs.
Revision 399 by william, Wed Jun 20 13:24:49 2012 UTC

# Line 262 | Line 262 | namespace RomCheater.Docking.UI
262          }
263          private byte[] GetMemory()
264          {
265 <            byte[] data = new byte[max_ram_view];
265 >            if (this.AcceptedPlugin != null)
266 >            {
267 >                if (this.AcceptedPlugin.SearchInProgess)
268 >                {
269 >                    return (txtData.ByteProvider as DynamicByteProvider).Bytes.ToArray();
270 >                }
271 >            }
272 >            byte[] data = new byte[max_ram_view];          
273              try
274              {
275                  using (GenericMemoryProvider provider = new GenericMemoryProvider((IAcceptsProcessAndConfig)this))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines