/[RomCheater]/trunk/RomCheater/Docking/UI/UIMemoryViewer.cs
ViewVC logotype

Diff of /trunk/RomCheater/Docking/UI/UIMemoryViewer.cs

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

revision 256 by william, Sun Jun 3 16:50:16 2012 UTC revision 274 by william, Sun Jun 3 21:41:19 2012 UTC
# Line 141  namespace RomCheater.Docking.UI Line 141  namespace RomCheater.Docking.UI
141              int TotalHeight = txtData.Height;              int TotalHeight = txtData.Height;
142              int NumberOfBytes = (int)((TotalHeight / ByteHeight) * max_address_width);              int NumberOfBytes = (int)((TotalHeight / ByteHeight) * max_address_width);
143              int byte_width = (max_address_width * 2);              int byte_width = (max_address_width * 2);
144              max_ram_view = NumberOfBytes + (byte_width - 1);              max_ram_view = NumberOfBytes + (byte_width);
145          }          }
146          private void btnGotoAddress_Click(object sender, EventArgs e)          private void btnGotoAddress_Click(object sender, EventArgs e)
147          {          {

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

  ViewVC Help
Powered by ViewVC 1.1.22