fs: QueryEntry uses NonSecure buffers

This commit is contained in:
Michael Scire committed 2022-04-08 11:23:39 -07:00
1 parent 106599895d
commit b45671fd35
4 files changed
+20 -20

No files matched your search

@@ -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));
}
};