exo: amend pk21 restrictions

This commit is contained in:
Michael Scire 2020-06-12 11:01:47 -07:00
parent 7ccf9415f9
commit a27e9f1595

View File

@ -123,8 +123,12 @@ namespace ams::pkg1 {
return (this->flags1[0] & (1 << 0)) != 0; return (this->flags1[0] & (1 << 0)) != 0;
} }
constexpr void SetPackage2Decrypted(bool decrypted) { constexpr void SetPackage2SignatureVerificationDisabled(bool decrypted) {
this->flags |= decrypted ? 0x3 : 0x0; this->flags |= decrypted ? (1 << 1) : (0 << 0);
}
constexpr void SetPackage2EncryptionDisabled(bool decrypted) {
this->flags |= decrypted ? (1 << 0) : (0 << 0);
} }
}; };
static_assert(util::is_pod<BootConfigSignedData>::value); static_assert(util::is_pod<BootConfigSignedData>::value);