ncm: fix iteration of nested-subdirectory content files

This commit is contained in:
Michael Scire 2021-04-12 17:10:27 -07:00
parent 9d30917f4e
commit 97a251b4b2

View File

@ -288,7 +288,7 @@ namespace ams::ncm {
} }
/* Set the path to the parent directory. */ /* Set the path to the parent directory. */
this->path.Set(this->path.GetSubstring(0, i)); this->path.Set(this->path.GetSubstring(0, i + 1));
/* Try to load again from the parent directory. */ /* Try to load again from the parent directory. */
return this->LoadEntries(); return this->LoadEntries();