fs/emummc: fix DirectoryRedirectionFileSystem not stripping prefix
This commit is contained in:
1 parent
7e6b369605
commit
d954e85826
2 files changed
+38
-1
No files matched your search
+1
-1
@@ -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));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user