/[RomCheater]/trunk/RomCheater/Docking/UI/UIMemoryViewer.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/UI/UIMemoryViewer.cs

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

--- trunk/RomCheater/Docking/UI/UIMemoryViewer.cs	2012/06/20 12:16:34	398
+++ trunk/RomCheater/Docking/UI/UIMemoryViewer.cs	2012/06/20 13:24:49	399
@@ -262,7 +262,14 @@
         }
         private byte[] GetMemory()
         {
-            byte[] data = new byte[max_ram_view];
+            if (this.AcceptedPlugin != null)
+            {
+                if (this.AcceptedPlugin.SearchInProgess)
+                {
+                    return (txtData.ByteProvider as DynamicByteProvider).Bytes.ToArray();
+                }
+            }
+            byte[] data = new byte[max_ram_view];          
             try
             {
                 using (GenericMemoryProvider provider = new GenericMemoryProvider((IAcceptsProcessAndConfig)this))

 

  ViewVC Help
Powered by ViewVC 1.1.22