mirror of https://github.com/PCSX2/pcsx2.git
Forgot a little fix.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4120 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
3be87bb2b0
commit
e085883e1c
|
@ -299,6 +299,15 @@ namespace GSDumpGUI
|
|||
{
|
||||
frmMain.lstProcesses.Items.Add(itm.IPAddress);
|
||||
}
|
||||
if (frmMain.lstProcesses.SelectedIndex == -1)
|
||||
{
|
||||
frmMain.chkDebugMode.Checked = false;
|
||||
frmMain.lblGif.Enabled = frmMain.chkDebugMode.Checked;
|
||||
frmMain.btnRunToSelection.Enabled = frmMain.chkDebugMode.Checked;
|
||||
frmMain.treTreeView.Enabled = frmMain.chkDebugMode.Checked;
|
||||
frmMain.btnStep.Enabled = frmMain.chkDebugMode.Checked;
|
||||
frmMain.treTreeView.Nodes.Clear();
|
||||
}
|
||||
}), new object[] { null});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -398,12 +398,15 @@ namespace GSDumpGUI
|
|||
}
|
||||
|
||||
private void chkDebugMode_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (lstProcesses.SelectedIndex != -1)
|
||||
{
|
||||
TCPMessage msg = new TCPMessage();
|
||||
msg.MessageType = MessageType.SetDebugMode;
|
||||
msg.Parameters.Add(chkDebugMode.Checked);
|
||||
Program.Clients.Find(a => a.IPAddress == lstProcesses.SelectedItem.ToString()).Send(msg);
|
||||
}
|
||||
}
|
||||
|
||||
private void btnStep_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue