mirror of
https://github.com/libretro/pcsx2.git
synced 2025-02-24 19:42:55 +00:00
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…
x
Reference in New Issue
Block a user