/[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 205 by william, Thu May 31 09:19:16 2012 UTC revision 206 by william, Thu May 31 09:31:57 2012 UTC
# Line 15  namespace RomCheater.Docking.UI Line 15  namespace RomCheater.Docking.UI
15  {  {
16      public partial class UIMemoryViewer : UserControl, IProcessConfig, IAcceptsPlugin<IConfigPlugin>//, IAcceptsMemoryRange      public partial class UIMemoryViewer : UserControl, IProcessConfig, IAcceptsPlugin<IConfigPlugin>//, IAcceptsMemoryRange
17      {      {
         private bool first_load = true;  
18          public UIMemoryViewer()          public UIMemoryViewer()
19          {          {
20              InitializeComponent();              InitializeComponent();
# Line 78  namespace RomCheater.Docking.UI Line 77  namespace RomCheater.Docking.UI
77          public IConfigPlugin AcceptedPlugin { get; set; }          public IConfigPlugin AcceptedPlugin { get; set; }
78          #endregion          #endregion
79          #region IAcceptsMemoryRange members          #region IAcceptsMemoryRange members
80          private uint MemoryStart { get { return 0; } }          public uint MemoryStart { get { return 0; } }
81          private uint MemorySize { get { return int.MaxValue; } }          public uint MemorySize { get { return int.MaxValue; } }
82          #endregion          #endregion
83          public void GotoTop() { this.CURRENT_TOP_ADDR = 0; }          public void GotoTop() { this.CURRENT_TOP_ADDR = 0; }
84          public void GotoBottom() { uint size = MemorySize; this.CURRENT_TOP_ADDR = (uint)((size - 1) - max_ram_view); }          public void GotoBottom() { uint size = MemorySize; this.CURRENT_TOP_ADDR = (uint)((size - 1) - max_ram_view); }

Legend:
Removed from v.205  
changed lines
  Added in v.206

  ViewVC Help
Powered by ViewVC 1.1.22