/[RomCheater]/trunk/RomCheater/Main.cs
ViewVC logotype

Diff of /trunk/RomCheater/Main.cs

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

revision 274 by william, Sun Jun 3 20:57:44 2012 UTC revision 275 by william, Sun Jun 3 22:01:05 2012 UTC
# Line 70  namespace RomCheater Line 70  namespace RomCheater
70    
71              m_memsearcher.AcceptedPlugin = this.ConfigPlugin;              m_memsearcher.AcceptedPlugin = this.ConfigPlugin;
72              m_memsearcher.AcceptedProcess = SelectedProcess;              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          #region Dock Support
# Line 93  namespace RomCheater Line 98  namespace RomCheater
98              m_memoryview = new FloatingMemoryView();              m_memoryview = new FloatingMemoryView();
99              m_typeconverter = new FloatingDataTypeConverter();              m_typeconverter = new FloatingDataTypeConverter();
100              m_memsearcher = new FloatingMemorySearcher();              m_memsearcher = new FloatingMemorySearcher();
101                m_memsearcher.OnBrowseMemoryRegion += new BaseEventHandler<BrowseMemoryRegionEvent>(OnBrowseMemoryRegion);
102              m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);              m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString);
103          }          }
104          public void ShowDocks()          public void ShowDocks()
# Line 150  namespace RomCheater Line 156  namespace RomCheater
156              load_plugins();              load_plugins();
157              m_memsearcher = new FloatingMemorySearcher(ConfigPlugin);              m_memsearcher = new FloatingMemorySearcher(ConfigPlugin);
158              m_memsearcher.AcceptedProcess = SelectedProcess;              m_memsearcher.AcceptedProcess = SelectedProcess;
159                m_memsearcher.OnBrowseMemoryRegion += new BaseEventHandler<BrowseMemoryRegionEvent>(OnBrowseMemoryRegion);
160              m_memsearcher.Show(dockPanel);              m_memsearcher.Show(dockPanel);
161          }          }
162          #endregion          #endregion

Legend:
Removed from v.274  
changed lines
  Added in v.275

  ViewVC Help
Powered by ViewVC 1.1.22