ns.mitm/fs.mitm: allow program specific web override for non-hbl, if present

This commit is contained in:
Michael Scire
2022-07-25 16:24:31 -07:00
parent e702eab21c
commit 7e6b369605
5 changed files with 24 additions and 14 deletions

View File

@@ -196,7 +196,7 @@ namespace ams::mitm::fs {
/* Check for romfs folder with content. */
FsDir romfs_dir;
if (R_FAILED(OpenAtmosphereSdRomfsDirectory(std::addressof(romfs_dir), program_id, "", OpenDirectoryMode_All))) {
if (R_FAILED(OpenAtmosphereSdRomfsDirectory(std::addressof(romfs_dir), program_id, "", fs::OpenDirectoryMode_All))) {
return false;
}
ON_SCOPE_EXIT { fsDirClose(std::addressof(romfs_dir)); };