diff --git a/src/core/file_sys/fs.cpp b/src/core/file_sys/fs.cpp index ec940503f..1702ad802 100644 --- a/src/core/file_sys/fs.cpp +++ b/src/core/file_sys/fs.cpp @@ -50,6 +50,11 @@ std::filesystem::path MntPoints::GetHostPath(std::string_view path, bool* is_rea pos = corrected_path.find("//", pos + 1); } + // Path is relative? + if(corrected_path.at(0) != '/') { + corrected_path = "/app0/" + corrected_path; + } + const MntPair* mount = GetMount(corrected_path); if (!mount) { return "";