diff --git a/es-app/src/FileData.cpp b/es-app/src/FileData.cpp index ad3478a66..8e9574c5e 100644 --- a/es-app/src/FileData.cpp +++ b/es-app/src/FileData.cpp @@ -1943,6 +1943,9 @@ void FileData::launchGame() #endif #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, "%ESPATH%", Utils::String::replace(Utils::FileSystem::getExePath(), "/", "\\")); command = Utils::String::replace(command, "%EMUDIR%",