mirror of https://github.com/PCSX2/pcsx2.git
gsdumpgui: Make it work even if it's not named GsDumpGUI.exe
Fixes #1592. [skip ci]
This commit is contained in:
parent
8d4fadb3c8
commit
e511265cc9
|
@ -218,7 +218,7 @@ namespace GSDumpGUI
|
|||
psi.RedirectStandardOutput = true;
|
||||
psi.RedirectStandardError = false;
|
||||
psi.CreateNoWindow = true;
|
||||
psi.FileName = AppDomain.CurrentDomain.BaseDirectory + "GsDumpGUI.exe";
|
||||
psi.FileName = Process.GetCurrentProcess().ProcessName;
|
||||
psi.Arguments = "\"" + DLLPath + "\"" + " \"" + DumpPath + "\"" + " \"" + Function + "\"" + " " + SelectedRenderer;
|
||||
Process p = Process.Start(psi);
|
||||
p.OutputDataReceived += new DataReceivedEventHandler(p_OutputDataReceived);
|
||||
|
|
Loading…
Reference in New Issue