diff --git a/libstratosphere/include/stratosphere/fssystem/fssystem_directory_redirection_filesystem.hpp b/libstratosphere/include/stratosphere/fssystem/fssystem_directory_redirection_filesystem.hpp index 5252348c..24c48d0c 100644 --- a/libstratosphere/include/stratosphere/fssystem/fssystem_directory_redirection_filesystem.hpp +++ b/libstratosphere/include/stratosphere/fssystem/fssystem_directory_redirection_filesystem.hpp @@ -42,7 +42,7 @@ namespace ams::fssystem { Result ResolveFullPath(fs::Path *out, const fs::Path &path) { if (path.IsMatchHead(m_before_dir.GetString(), m_before_dir.GetLength())) { R_TRY(out->Initialize(m_after_dir)); - R_TRY(out->AppendChild(path)); + R_TRY(out->AppendChild(path.GetString() + m_before_dir.GetLength())); } else { R_TRY(out->Initialize(path)); }