mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-21 02:52:44 +02:00
fs/emummc: fix DirectoryRedirectionFileSystem not stripping prefix
This commit is contained in:
parent
d24ea71108
commit
f660acb0cd
@ -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…
Reference in New Issue
Block a user