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);
|
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});
|
}), new object[] { null});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -399,10 +399,13 @@ namespace GSDumpGUI
|
||||||
|
|
||||||
private void chkDebugMode_CheckedChanged(object sender, EventArgs e)
|
private void chkDebugMode_CheckedChanged(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
TCPMessage msg = new TCPMessage();
|
if (lstProcesses.SelectedIndex != -1)
|
||||||
msg.MessageType = MessageType.SetDebugMode;
|
{
|
||||||
msg.Parameters.Add(chkDebugMode.Checked);
|
TCPMessage msg = new TCPMessage();
|
||||||
Program.Clients.Find(a => a.IPAddress == lstProcesses.SelectedItem.ToString()).Send(msg);
|
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)
|
private void btnStep_Click(object sender, EventArgs e)
|
||||||
|
|
Loading…
Reference in New Issue