/[RomCheater]/trunk/RomCheater.EmuMMAPPlugin/EmuMEMMapDockControl.cs
ViewVC logotype

Diff of /trunk/RomCheater.EmuMMAPPlugin/EmuMEMMapDockControl.cs

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

revision 642 by william, Sat Jun 8 21:58:23 2013 UTC revision 643 by william, Sat Jun 8 22:06:24 2013 UTC
# Line 200  namespace RomCheater.EmuMMAPPlugin Line 200  namespace RomCheater.EmuMMAPPlugin
200          {          {
201              this.MapName = name;              this.MapName = name;
202          }          }
203          public MemMap(string name, ulong start, ulong end) : this(name, string.Format("0x{0}", start.ToString("X")), string.Format("0x{0}", end.ToString("X")), string.Format("0x{0}", (end - start).ToString("X"))) { }          public MemMap(string name, ulong start, ulong end) : this(name, string.Format("0x{0}", start.ToString("X")), string.Format("0x{0}", end.ToString("X")), end-start) { }
204          public MemMap(string name, string start, string end, string size)          public MemMap(string name, string start, string end, ulong size)
205              : this(name)              : this(name)
206          {          {
207              this.MapStart = start;              this.MapStart = start;
208              this.MapEnd = end;              this.MapEnd = end;
209              this.MapSize = size;              this.MapSize = string.Format("0x{0}={1:0.00}MB", size.ToString("X"), ((double)size / (1024.0 * 1024.0)));
210          }          }
211          #region IMappedMemRange Members          #region IMappedMemRange Members
212          public string MapName { get; private set; }          public string MapName { get; private set; }

Legend:
Removed from v.642  
changed lines
  Added in v.643

  ViewVC Help
Powered by ViewVC 1.1.22