mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-27 10:15:05 +01:00
Fixing launching for mame (launch from emulator cwd)
This commit is contained in:
parent
1863ff522b
commit
1cc257658f
@ -151,7 +151,7 @@ bool Launcher::ExecuteCommand(std::string executable, std::string args, std::str
|
||||
startupInfo.hStdInput = GetStdHandle(STD_INPUT_HANDLE);
|
||||
startupInfo.wShowWindow = SW_SHOWDEFAULT;
|
||||
|
||||
if(!CreateProcess(NULL, applicationName, NULL, NULL, FALSE, CREATE_NO_WINDOW, NULL, NULL, &startupInfo, &processInfo))
|
||||
if(!CreateProcess(NULL, applicationName, NULL, NULL, FALSE, CREATE_NO_WINDOW, NULL, currDir, &startupInfo, &processInfo))
|
||||
#else
|
||||
if(system(executionString.c_str()) != 0)
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user