/[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

revision 255 by william, Sun Jun 3 16:09:05 2012 UTC revision 256 by william, Sun Jun 3 16:50:16 2012 UTC
# Line 35  namespace RomCheater.Docking Line 35  namespace RomCheater.Docking
35          #endregion          #endregion
36          #region IAcceptsMemoryRange members          #region IAcceptsMemoryRange members
37          private int MemoryStart { get { return MemView.MemoryStart; } }          private int MemoryStart { get { return MemView.MemoryStart; } }
38          private int MemorySize { get { return MemView.MemorySize; } }          private uint MemorySize { get { return MemView.MemorySize; } }
39          #endregion          #endregion
40    
41          #region IAcceptsExternalMemoryAddress          #region IAcceptsExternalMemoryAddress
42          public bool AcceptExternalMemoryAddress(uint address)          public bool AcceptExternalMemoryAddress(int address)
43          {          {
44              if (!((MemoryStart <= address) && (address <= (MemoryStart + MemorySize)))) { return false; }              if (!((MemoryStart <= address) && (address <= (MemoryStart + MemorySize)))) { return false; }
45              MemView.GotoAddress(address);              MemView.GotoAddress(address);

Legend:
Removed from v.255  
changed lines
  Added in v.256

  ViewVC Help
Powered by ViewVC 1.1.22