Ram Poke - show memory domain in text property, format address and value text boxes on load
This commit is contained in:
parent
31a85ab785
commit
3614708e83
|
@ -43,15 +43,20 @@ namespace BizHawk.MultiClient
|
||||||
BigEndianRadio.Checked = true;
|
BigEndianRadio.Checked = true;
|
||||||
else
|
else
|
||||||
LittleEndianRadio.Checked = true;
|
LittleEndianRadio.Checked = true;
|
||||||
AddressBox.Text = String.Format("{0:X}", watch.address);
|
AddressBox.Text = String.Format("{0:X" +
|
||||||
|
GetNumDigits(watch.address) + "}", watch.address);
|
||||||
|
|
||||||
|
if (HexRadio.Checked)
|
||||||
ValueBox.Text = watch.value.ToString();
|
ValueBox.Text = String.Format("{0:X" +
|
||||||
|
GetValueNumDigits() + "}", watch.value);
|
||||||
|
else
|
||||||
|
ValueBox.Text = watch.value.ToString();
|
||||||
|
|
||||||
|
|
||||||
if (location.X > 0 && location.Y > 0)
|
if (location.X > 0 && location.Y > 0)
|
||||||
this.Location = location;
|
this.Location = location;
|
||||||
|
|
||||||
|
Text = "Ram Poke - " + domain.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SetTypeRadio(atype a)
|
private void SetTypeRadio(atype a)
|
||||||
|
|
Loading…
Reference in New Issue