--- 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; } |