ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater/Docking/UI/UIMemoryViewer.cs
(Generate patch)

Comparing trunk/RomCheater/Docking/UI/UIMemoryViewer.cs (file contents):
Revision 573 by william, Mon Jun 3 18:35:45 2013 UTC vs.
Revision 574 by william, Thu Jun 6 07:39:04 2013 UTC

--- trunk/RomCheater/Docking/UI/UIMemoryViewer.cs	2013/06/06 07:35:49	573
+++ trunk/RomCheater/Docking/UI/UIMemoryViewer.cs	2013/06/06 07:39:04	574
@@ -56,7 +56,7 @@ namespace RomCheater.Docking.UI
             txtData.UseFixedBytesPerLine = true;
             //txtData.StringViewVisible = true;
             ramScroll.Minimum = (int)MemoryRangeStart;
-            for (uint i = MemoryRangeStart; i < (MemoryRangeStart + max_ram_view); i += max_address_width) { ramScroll.Maximum += (int)max_address_width; }
+            for (ulong i = MemoryRangeStart; i < (MemoryRangeStart + max_ram_view); i += max_address_width) { ramScroll.Maximum += (int)max_address_width; }
             ramScroll.Value = ramScroll.Minimum;
             this.CanChangeUpdateInterval = false;
             this.AcceptedPlugin = null; this.AcceptedProcess = null;
@@ -118,8 +118,8 @@ namespace RomCheater.Docking.UI
         public IConfigPlugin AcceptedPlugin { get; set; }
         #endregion
         #region IAcceptsMemoryRange members
-        public uint MemoryRangeStart { get { return MemorySizeConstants.MinimumAddress; } set { } }
-        public uint MemoryRangeSize { get { return MemoryRangeStart + MemorySizeConstants.MaximumAddressSize; } set { } }
+        public ulong MemoryRangeStart { get { return MemorySizeConstants.MinimumAddress; } set { } }
+        public ulong MemoryRangeSize { get { return MemoryRangeStart + MemorySizeConstants.MaximumAddressSize; } set { } }
         #endregion
         #region IAcceptPEData members
         private IPEDData peData { get; set; }
@@ -165,8 +165,8 @@ namespace RomCheater.Docking.UI
         static uint small_scroll_change = max_address_width * 1; // scrolls one line (when you clikc the up or down arrows)
         static uint medium_scroll_change = max_ram_view / 2; // scrolls half a page
         static uint large_scroll_change = max_ram_view; // scrolls a full page
-        private uint _CURRENT_TOP_ADDR;
-        uint CURRENT_TOP_ADDR
+        private ulong _CURRENT_TOP_ADDR;
+        ulong CURRENT_TOP_ADDR
         {
             get { return _CURRENT_TOP_ADDR; }
             set { txthexGoto.Value = _CURRENT_TOP_ADDR = value; }