Debugger: Disable "Break on decayed OAM read" option if oam decay emulation is disabled.
This commit is contained in:
parent
9f12f1c756
commit
496097f09d
2 changed files with 6 additions and 0 deletions
1
GUI.NET/Debugger/frmDebugger.Designer.cs
generated
1
GUI.NET/Debugger/frmDebugger.Designer.cs
generated
|
@ -1177,6 +1177,7 @@ namespace Mesen.GUI.Debugger
|
|||
this.mnuBreakOptions.Name = "mnuBreakOptions";
|
||||
this.mnuBreakOptions.Size = new System.Drawing.Size(266, 22);
|
||||
this.mnuBreakOptions.Text = "Break Options";
|
||||
this.mnuBreakOptions.DropDownOpening += new System.EventHandler(this.mnuBreakOptions_DropDownOpening);
|
||||
//
|
||||
// mnuBreakOnReset
|
||||
//
|
||||
|
|
|
@ -1532,5 +1532,10 @@ namespace Mesen.GUI.Debugger
|
|||
mnuShowFunctionLabelLists.Enabled = !mnuUseVerticalLayout.Checked;
|
||||
this.UpdateMinimumSize();
|
||||
}
|
||||
|
||||
private void mnuBreakOptions_DropDownOpening(object sender, EventArgs e)
|
||||
{
|
||||
this.mnuBreakOnDecayedOamRead.Enabled = ConfigManager.Config.EmulationInfo.EnableOamDecay;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue