mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-04 16:53:48 -04:00
ncm: update client code to better reflect latest sysupdate
This commit is contained in:
parent
ca142889c4
commit
320a946fc7
28 changed files with 1432 additions and 110 deletions
|
@ -37,7 +37,7 @@ namespace ams::ncm {
|
|||
char path[MaxPackagePathLength];
|
||||
R_TRY(ConvertToFsCommonPath(path, sizeof(path), package_root_path, entry.name));
|
||||
|
||||
return ncm::ReadContentMetaPath(out, path);
|
||||
return ncm::ReadContentMetaPathWithoutExtendedDataOrDigest(out, path);
|
||||
}
|
||||
|
||||
template<typename F>
|
||||
|
@ -108,7 +108,7 @@ namespace ams::ncm {
|
|||
|
||||
/* Read the content meta path, and build. */
|
||||
ncm::AutoBuffer package_meta;
|
||||
if (R_SUCCEEDED(ncm::ReadContentMetaPath(std::addressof(package_meta), path.str))) {
|
||||
if (R_SUCCEEDED(ncm::ReadContentMetaPathWithoutExtendedDataOrDigest(std::addressof(package_meta), path.str))) {
|
||||
/* Get the size of the content. */
|
||||
s64 size;
|
||||
R_TRY(storage->GetSize(std::addressof(size), content_id));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue