/[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/02 10:43:05	214
+++ trunk/RomCheater/Docking/UI/UIMemoryViewer.cs	2012/06/02 18:31:40	229
@@ -120,7 +120,7 @@
         uint CURRENT_TOP_ADDR
         {
             get { return _CURRENT_TOP_ADDR; }
-            set { _CURRENT_TOP_ADDR = value; }
+            set { txthexGoto.Value = _CURRENT_TOP_ADDR = value; }
         }
         //uint CURRENT_BOITTOM_ADDR() { return CURRENT_TOP_ADDR + max_ram_view; }
         private void UpdateMaxRamView()
@@ -194,7 +194,8 @@
                 reader.ReadProcess = this.AcceptedProcess;
                 reader.OpenProcess();
                 int bytesReadSize;
-                byte[] data = reader.ReadProcessMemory(CURRENT_TOP_ADDR, max_ram_view, out bytesReadSize);
+                byte[] data;
+                reader.ReadProcessMemory(CURRENT_TOP_ADDR, max_ram_view, out bytesReadSize, out data);
                 //this.Logger.LogDebugMessage(string.Format("GetMemory() -> Memory Size: {0}0x{2:X8}{1}", "{", "}", data.Length));
                 return data;
             }

 

  ViewVC Help
Powered by ViewVC 1.1.22