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

Comparing trunk/RomCheater/Main.cs (file contents):
Revision 274 by william, Sun Jun 3 20:57:44 2012 UTC vs.
Revision 275 by william, Sun Jun 3 22:01:05 2012 UTC

# Line 70 | Line 70 | namespace RomCheater
70  
71              m_memsearcher.AcceptedPlugin = this.ConfigPlugin;
72              m_memsearcher.AcceptedProcess = SelectedProcess;
73 +            m_memsearcher.OnBrowseMemoryRegion += new BaseEventHandler<BrowseMemoryRegionEvent>(OnBrowseMemoryRegion);
74 +        }
75 +        private void OnBrowseMemoryRegion(BrowseMemoryRegionEvent e)
76 +        {
77 +            m_memoryview.AcceptExternalMemoryAddress(e.Address);
78          }
79  
80          #region Dock Support
# Line 93 | Line 98 | namespace RomCheater
98              m_memoryview = new FloatingMemoryView();
99              m_typeconverter = new FloatingDataTypeConverter();
100              m_memsearcher = new FloatingMemorySearcher();
101 +            m_memsearcher.OnBrowseMemoryRegion += new BaseEventHandler<BrowseMemoryRegionEvent>(OnBrowseMemoryRegion);
102              m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);
103          }
104          public void ShowDocks()
# Line 150 | Line 156 | namespace RomCheater
156              load_plugins();
157              m_memsearcher = new FloatingMemorySearcher(ConfigPlugin);
158              m_memsearcher.AcceptedProcess = SelectedProcess;
159 +            m_memsearcher.OnBrowseMemoryRegion += new BaseEventHandler<BrowseMemoryRegionEvent>(OnBrowseMemoryRegion);
160              m_memsearcher.Show(dockPanel);
161          }
162          #endregion

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines