[XAM] Fixed license_mask config option not being applied to content (DLCs)

This commit is contained in:
Gliniak
2025-11-24 19:29:50 +01:00
parent 81871e7dc8
commit 529e10f128

View File

@@ -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));
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
if (data.content_type == XContentType::kMarketplaceContent) {