File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -291,9 +291,9 @@ void FileData::launchGame(Window* window)
291291 const std::string basename = Utils::FileSystem::getStem (getPath ());
292292 const std::string rom_raw = Utils::FileSystem::getPreferredPath (getPath ());
293293 const std::string name = getName ();
294- const std::string rom_dir = Utils::FileSystem::getPreferredPath (Utils::FileSystem::getParent (getPath ()));
295- const std::string cfg_dir = Utils::FileSystem::getPreferredPath (Utils::FileSystem::getCanonicalPath (Utils::FileSystem::getHomePath () + " /.emulationstation" ));
296- const std::string install_dir = Utils::FileSystem::getPreferredPath (Utils::FileSystem::getCanonicalPath (Utils::FileSystem::getExePath ()));
294+ const std::string rom_dir = Utils::FileSystem::getEscapedPath (Utils::FileSystem::getParent (getPath ()));
295+ const std::string cfg_dir = Utils::FileSystem::getEscapedPath (Utils::FileSystem::getCanonicalPath (Utils::FileSystem::getHomePath () + " /.emulationstation" ));
296+ const std::string install_dir = Utils::FileSystem::getEscapedPath (Utils::FileSystem::getCanonicalPath (Utils::FileSystem::getExePath ()));
297297
298298 command = Utils::String::replace (command, " %ROM%" , rom);
299299 command = Utils::String::replace (command, " %BASENAME%" , basename);
You can’t perform that action at this time.
0 commit comments