Parent Directory
|
Revision Log
|
Patch
--- trunk/RomCheater/Docking/FloatingMemoryView.cs 2012/06/03 16:50:16 256 +++ 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 |