[XAM] Fixed license_mask config option not being applied to content (DLCs)
This commit is contained in:
@@ -416,6 +416,9 @@ X_RESULT ContentManager::OpenContent(const std::string_view root_name,
|
|||||||
data.file_name(), xuid, kernel_state_->title_id(), data.content_type));
|
data.file_name(), xuid, kernel_state_->title_id(), data.content_type));
|
||||||
|
|
||||||
content_license = package->GetPackageLicense();
|
content_license = package->GetPackageLicense();
|
||||||
|
if (static_cast<uint32_t>(cvars::license_mask) > 1) {
|
||||||
|
content_license |= cvars::license_mask;
|
||||||
|
}
|
||||||
|
|
||||||
// Check for SPA file in package. Check it only for DLCs
|
// Check for SPA file in package. Check it only for DLCs
|
||||||
if (data.content_type == XContentType::kMarketplaceContent) {
|
if (data.content_type == XContentType::kMarketplaceContent) {
|
||||||
|
|||||||
Reference in New Issue
Block a user