mirror of https://github.com/PCSX2/pcsx2.git
GSDumpGUI : Added the "clear log on start" and the "select the last line of the log whenever new data arrive".
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2664 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
fe915cfa67
commit
a964bc907f
|
@ -131,6 +131,7 @@ namespace GSDumpGUI
|
|||
|
||||
private void ExecuteFunction(String Function)
|
||||
{
|
||||
txtLog.Text = "";
|
||||
String GSDXName = lstGSDX.SelectedItem.ToString().Split(new char[] { '|' })[0];
|
||||
|
||||
CreateDirs(GSDXName);
|
||||
|
@ -188,7 +189,11 @@ namespace GSDumpGUI
|
|||
void p_OutputDataReceived(object sender, DataReceivedEventArgs e)
|
||||
{
|
||||
// Write the log.
|
||||
txtLog.Invoke(new Action<object>(delegate(object o) { txtLog.Text += e.Data + Environment.NewLine; }), new object[] { null });
|
||||
txtLog.Invoke(new Action<object>(delegate(object o)
|
||||
{
|
||||
txtLog.Text += e.Data + Environment.NewLine;
|
||||
txtLog.SelectionStart = txtLog.Text.Length - 1;
|
||||
}), new object[] { null });
|
||||
}
|
||||
|
||||
private void cmdConfigGSDX_Click(object sender, EventArgs e)
|
||||
|
|
Loading…
Reference in New Issue