diff --git a/es-app/src/FileData.cpp b/es-app/src/FileData.cpp index 32d9e9cc3..a67e54f63 100644 --- a/es-app/src/FileData.cpp +++ b/es-app/src/FileData.cpp @@ -1143,6 +1143,10 @@ std::string FileData::findEmulatorPath(std::string& command) } for (std::string path : emulatorStaticPaths) { + path = Utils::FileSystem::expandHomePath(path); + #if defined(_WIN64) + path = Utils::String::replace(path, "/", "\\"); + #endif if (Utils::FileSystem::isRegularFile(path) || Utils::FileSystem::isSymlink(path)) { command.replace(0, endPos + 1, path);