Cheats - default compare box to empty, not 0
This commit is contained in:
parent
4aae8a1311
commit
76de0c4bdd
|
@ -32,7 +32,7 @@
|
||||||
this.NameLabel = new System.Windows.Forms.Label();
|
this.NameLabel = new System.Windows.Forms.Label();
|
||||||
this.AddressLabel = new System.Windows.Forms.Label();
|
this.AddressLabel = new System.Windows.Forms.Label();
|
||||||
this.AddressHexIndLabel = new System.Windows.Forms.Label();
|
this.AddressHexIndLabel = new System.Windows.Forms.Label();
|
||||||
this.AddressBox = new HexTextBox();
|
this.AddressBox = new BizHawk.Client.EmuHawk.HexTextBox();
|
||||||
this.ValueHexIndLabel = new System.Windows.Forms.Label();
|
this.ValueHexIndLabel = new System.Windows.Forms.Label();
|
||||||
this.ValueLabel = new System.Windows.Forms.Label();
|
this.ValueLabel = new System.Windows.Forms.Label();
|
||||||
this.CompareHexIndLabel = new System.Windows.Forms.Label();
|
this.CompareHexIndLabel = new System.Windows.Forms.Label();
|
||||||
|
@ -46,8 +46,8 @@
|
||||||
this.BigEndianCheckBox = new System.Windows.Forms.CheckBox();
|
this.BigEndianCheckBox = new System.Windows.Forms.CheckBox();
|
||||||
this.AddButton = new System.Windows.Forms.Button();
|
this.AddButton = new System.Windows.Forms.Button();
|
||||||
this.EditButton = new System.Windows.Forms.Button();
|
this.EditButton = new System.Windows.Forms.Button();
|
||||||
this.CompareBox = new WatchValueBox();
|
this.CompareBox = new BizHawk.Client.EmuHawk.WatchValueBox();
|
||||||
this.ValueBox = new WatchValueBox();
|
this.ValueBox = new BizHawk.Client.EmuHawk.WatchValueBox();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// NameBox
|
// NameBox
|
||||||
|
@ -239,7 +239,6 @@
|
||||||
this.CompareBox.Nullable = true;
|
this.CompareBox.Nullable = true;
|
||||||
this.CompareBox.Size = new System.Drawing.Size(65, 20);
|
this.CompareBox.Size = new System.Drawing.Size(65, 20);
|
||||||
this.CompareBox.TabIndex = 15;
|
this.CompareBox.TabIndex = 15;
|
||||||
this.CompareBox.Text = "00";
|
|
||||||
this.CompareBox.Type = BizHawk.Client.Common.Watch.DisplayType.Hex;
|
this.CompareBox.Type = BizHawk.Client.Common.Watch.DisplayType.Hex;
|
||||||
//
|
//
|
||||||
// ValueBox
|
// ValueBox
|
||||||
|
|
|
@ -107,6 +107,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
SetTypeSelected(Watch.DisplayType.Hex);
|
SetTypeSelected(Watch.DisplayType.Hex);
|
||||||
|
|
||||||
CheckFormState();
|
CheckFormState();
|
||||||
|
CompareBox.Text = String.Empty; //TODO: A needed hack until WatchValueBox.ToRawInt() becomes nullable
|
||||||
_loading = false;
|
_loading = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue