/[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

revision 214 by william, Sat Jun 2 10:43:05 2012 UTC revision 229 by william, Sat Jun 2 18:31:40 2012 UTC
# Line 120  namespace RomCheater.Docking.UI Line 120  namespace RomCheater.Docking.UI
120          uint CURRENT_TOP_ADDR          uint CURRENT_TOP_ADDR
121          {          {
122              get { return _CURRENT_TOP_ADDR; }              get { return _CURRENT_TOP_ADDR; }
123              set { _CURRENT_TOP_ADDR = value; }              set { txthexGoto.Value = _CURRENT_TOP_ADDR = value; }
124          }          }
125          //uint CURRENT_BOITTOM_ADDR() { return CURRENT_TOP_ADDR + max_ram_view; }          //uint CURRENT_BOITTOM_ADDR() { return CURRENT_TOP_ADDR + max_ram_view; }
126          private void UpdateMaxRamView()          private void UpdateMaxRamView()
# Line 194  namespace RomCheater.Docking.UI Line 194  namespace RomCheater.Docking.UI
194                  reader.ReadProcess = this.AcceptedProcess;                  reader.ReadProcess = this.AcceptedProcess;
195                  reader.OpenProcess();                  reader.OpenProcess();
196                  int bytesReadSize;                  int bytesReadSize;
197                  byte[] data = reader.ReadProcessMemory(CURRENT_TOP_ADDR, max_ram_view, out bytesReadSize);                  byte[] data;
198                    reader.ReadProcessMemory(CURRENT_TOP_ADDR, max_ram_view, out bytesReadSize, out data);
199                  //this.Logger.LogDebugMessage(string.Format("GetMemory() -> Memory Size: {0}0x{2:X8}{1}", "{", "}", data.Length));                  //this.Logger.LogDebugMessage(string.Format("GetMemory() -> Memory Size: {0}0x{2:X8}{1}", "{", "}", data.Length));
200                  return data;                  return data;
201              }              }

Legend:
Removed from v.214  
changed lines
  Added in v.229

  ViewVC Help
Powered by ViewVC 1.1.22