fs: QueryEntry uses NonSecure buffers

This commit is contained in:
Michael Scire 2022-04-08 11:23:39 -07:00
parent 106599895d
commit b45671fd35
4 changed files with 20 additions and 20 deletions

View file

@ -256,7 +256,7 @@ namespace ams::fs::impl {
fssrv::sf::Path fsp_path;
R_TRY(GetPathForServiceObject(std::addressof(fsp_path), path));
R_RETURN(m_x->QueryEntry(sf::OutBuffer(dst, dst_size), sf::InBuffer(src, src_size), static_cast<s32>(query), fsp_path));
R_RETURN(m_x->QueryEntry(sf::OutNonSecureBuffer(dst, dst_size), sf::InNonSecureBuffer(src, src_size), static_cast<s32>(query), fsp_path));
}
};