diff --git a/tools/GSDumpGUI/Forms/frmMain.cs b/tools/GSDumpGUI/Forms/frmMain.cs index dfccb20484..e58506ea5b 100644 --- a/tools/GSDumpGUI/Forms/frmMain.cs +++ b/tools/GSDumpGUI/Forms/frmMain.cs @@ -398,8 +398,8 @@ namespace GSDumpGUI psi.FileName = Process.GetCurrentProcess().ProcessName; psi.Arguments = "\"" + dllPath + "\"" + " \"" + dumpPath + "\"" + " \"" + Function + "\"" + " " + SelectedRenderer + " " + port; Process p = Process.Start(psi); - p.OutputDataReceived += new DataReceivedEventHandler(p_OutputDataReceived); - p.ErrorDataReceived += new DataReceivedEventHandler(p_OutputDataReceived); + p.OutputDataReceived += new DataReceivedEventHandler(p_StdOutDataReceived); + p.ErrorDataReceived += new DataReceivedEventHandler(p_StdErrDataReceived); p.BeginOutputReadLine(); p.Exited += new EventHandler(p_Exited); Processes.Add(p); @@ -429,11 +429,16 @@ namespace GSDumpGUI Processes.Remove((Process)sender); } - private void p_OutputDataReceived(object sender, DataReceivedEventArgs e) + private void p_StdOutDataReceived(object sender, DataReceivedEventArgs e) { _gsdxLogger.Information(e.Data); } + private void p_StdErrDataReceived(object sender, DataReceivedEventArgs e) + { + _gsdxLogger.Error(e.Data); + } + private void cmdConfigGSDX_Click(object sender, EventArgs e) { // Execute the GSconfigure function