do last commit more correctly
This commit is contained in:
parent
18e112536a
commit
9997c4fa8d
|
@ -44,7 +44,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
return (uint)_maxSize.Value;
|
||||
}
|
||||
|
||||
return (uint)(((long)1 << (4 * MaxLength)) - 1);
|
||||
return (uint)(((long)1 << (4 * MaxLength)) - 1);
|
||||
}
|
||||
|
||||
public override void ResetText()
|
||||
|
|
|
@ -55,7 +55,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
set
|
||||
{
|
||||
AddressBox.MaxLength = value;
|
||||
AddressBox.SetHexProperties(value);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@ using System.Linq;
|
|||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using BizHawk.Common.NumberExtensions;
|
||||
using BizHawk.Emulation.Common;
|
||||
using BizHawk.Emulation.Common.IEmulatorExtensions;
|
||||
using BizHawk.Client.Common;
|
||||
|
@ -101,7 +100,7 @@ namespace BizHawk.Client.EmuHawk.tools.Debugger
|
|||
var b = new AddBreakpointDialog
|
||||
{
|
||||
// TODO: don't use Global.Emulator! Pass in an IMemoryDomains implementation from the parent tool
|
||||
MaxAddressSize = (Global.Emulator.AsMemoryDomains().MemoryDomains.SystemBus.Size - 1).NumHexDigits()
|
||||
MaxAddressSize = Global.Emulator.AsMemoryDomains().MemoryDomains.SystemBus.Size - 1
|
||||
};
|
||||
|
||||
if (b.ShowDialog() == DialogResult.OK)
|
||||
|
|
Loading…
Reference in New Issue