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 200 by william, Thu May 31 05:52:41 2012 UTC vs.
Revision 201 by william, Thu May 31 08:10:25 2012 UTC

--- trunk/RomCheater/Main.cs	2012/05/31 07:29:44	200
+++ trunk/RomCheater/Main.cs	2012/05/31 08:10:25	201
@@ -118,11 +118,13 @@ namespace RomCheater
         public void ShowRamDump()
         {
             m_RamDump = new FloatingRamDumperDialog(ConfigPlugin);
+            m_RamDump.AcceptedProcess = SelectedProcess;
             m_RamDump.Show(dockPanel);            
         }
         public void ShowMemoryView()
         {
             m_memoryview = new FloatingMemoryView(ConfigPlugin);
+            m_memoryview.AcceptedProcess = SelectedProcess;
             m_memoryview.Show(dockPanel);
         }
         public void ShowPidSelector()
@@ -263,7 +265,10 @@ namespace RomCheater
         {
             ShowPidSelector();
         }
-
+        private void mnuItemShowMemoryView_Click(object sender, EventArgs e)
+        {
+            ShowMemoryView();
+        }
         private void Main_FormClosing(object sender, FormClosingEventArgs e)
         {
             string configFile = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), "DockPanel.config");
@@ -277,5 +282,18 @@ namespace RomCheater
         {
             PEReader reader = new PEReader(@"C:\Windows\System32\notepad.exe");
         }
+
+        private void mnuItemFindMaxNonNegativeHexValue_Click(object sender, EventArgs e)
+        {
+
+            //uint start = 0xf0000000;
+            uint end = uint.MaxValue;
+            //for (uint i = start; i < end; i++)
+            //{
+            ulong value = Convert.ToUInt64(end.ToString(), 16);
+            //}
+        }
+
+        
     }
 }