/[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 648 by william, Sat Jun 8 22:37:39 2013 UTC revision 649 by william, Sat Jun 8 22:45:25 2013 UTC
# Line 235  namespace RomCheater.EmuMMAPPlugin Line 235  namespace RomCheater.EmuMMAPPlugin
235          {          {
236              this.MapStart = start;              this.MapStart = start;
237              this.MapEnd = end;              this.MapEnd = end;
238              this.MapSize = string.Format("0x{0}={1:0.00000}MB", size.ToString("X"), ((double)size / (1024.0 * 1024.0)));  
239                ulong _size = size + 1;
240                double t = 1024.0 * 1024.0;
241                double __size = (double)_size/t;
242                this.MapSize = string.Format("0x{0}={1:0.000000}MB", _size.ToString("X"), __size);
243          }          }
244          #region IMappedMemRange Members          #region IMappedMemRange Members
245          public string MapName { get; private set; }          public string MapName { get; private set; }

Legend:
Removed from v.648  
changed lines
  Added in v.649

  ViewVC Help
Powered by ViewVC 1.1.22