mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-28 13:44:11 -04:00
ncm: rights ids were added in 2.0.0
This commit is contained in:
parent
bffd553b80
commit
852c039f70
2 changed files with 18 additions and 16 deletions
|
@ -593,7 +593,7 @@ namespace ams::ncm {
|
|||
R_UNLESS(std::memcmp(hash, content_info->digest.data, crypto::Sha256Generator::HashSize) == 0, ncm::ResultInvalidContentHash());
|
||||
}
|
||||
|
||||
if (!(this->config & InstallConfig_IgnoreTicket)) {
|
||||
if (hos::GetVersion() >= hos::Version_2_0_0 && !(this->config & InstallConfig_IgnoreTicket)) {
|
||||
ncm::RightsId rights_id;
|
||||
{
|
||||
/* Open the content storage and obtain the rights id. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue