mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-01 15:28:21 -04:00
fs/emummc: fix DirectoryRedirectionFileSystem not stripping prefix
This commit is contained in:
parent
7e6b369605
commit
d954e85826
2 changed files with 38 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue