diff --git a/es-app/src/FileData.cpp b/es-app/src/FileData.cpp index a53cce599..4b36003ad 100644 --- a/es-app/src/FileData.cpp +++ b/es-app/src/FileData.cpp @@ -1582,6 +1582,7 @@ void FileData::launchGame() #else injectFile = Utils::String::replace(injectFile, "%BASENAME%", Utils::String::replace(baseName, "\\", "")); + injectFile = Utils::String::replace(injectFile, "%ROM%", romRaw); if (injectFile.front() != '/') injectFile = Utils::FileSystem::getParent(Utils::String::replace(romPath, "\\", "")) + "/" +