/[RomCheater]/trunk/RomCheater/Docking/FloatingMemoryView.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/FloatingMemoryView.cs

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

--- trunk/RomCheater/Docking/FloatingMemoryView.cs	2012/06/03 22:01:05	275
+++ trunk/RomCheater/Docking/FloatingMemoryView.cs	2012/06/03 22:04:37	276
@@ -16,7 +16,7 @@
     public partial class FloatingMemoryView : DockContent,
         IAcceptsPlugin<IConfigPlugin>,
         IAcceptsProcess<Process>,
-        IAcceptsProcessAndConfig, IAcceptsExternalMemoryAddress
+        IAcceptsProcessAndConfig, IBrowseMemoryRegion
     {
         public FloatingMemoryView() { 
             InitializeComponent(); 
@@ -38,11 +38,11 @@
         private uint MemorySize { get { return MemView.MemorySize; } }
         #endregion
 
-        #region IAcceptsExternalMemoryAddress
-        public bool AcceptExternalMemoryAddress(int address)
+        #region IBrowseMemoryRegion
+        public bool BrowseMemoryRegion(int MemoryRegion)
         {
-            if (!((MemoryStart <= address) && (address <= (MemoryStart + MemorySize)))) { return false; }
-            MemView.GotoAddress(address);
+            if (!((MemoryStart <= MemoryRegion) && (MemoryRegion <= (MemoryStart + MemorySize)))) { return false; }
+            MemView.GotoAddress(MemoryRegion);
             return true;
         }
         #endregion

 

  ViewVC Help
Powered by ViewVC 1.1.22