mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
(Windows) Fixed an issue where there could be double quotation marks added to the launch command under some special circumstances
This commit is contained in:
parent
e531907a90
commit
68d462b726
|
@ -1943,6 +1943,9 @@ void FileData::launchGame()
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_WIN64)
|
#if defined(_WIN64)
|
||||||
|
// Hack to remove double quotation marks as these can occur under some special circumstances.
|
||||||
|
command = Utils::String::replace(command, "\"\"", "\"");
|
||||||
|
|
||||||
command = Utils::String::replace(
|
command = Utils::String::replace(
|
||||||
command, "%ESPATH%", Utils::String::replace(Utils::FileSystem::getExePath(), "/", "\\"));
|
command, "%ESPATH%", Utils::String::replace(Utils::FileSystem::getExePath(), "/", "\\"));
|
||||||
command = Utils::String::replace(command, "%EMUDIR%",
|
command = Utils::String::replace(command, "%EMUDIR%",
|
||||||
|
|
Loading…
Reference in a new issue