[XAM] Set license mask for XBLA titles as well

This commit is contained in:
NicknineTheEagle 2024-06-18 16:06:20 +03:00 committed by Radosław Gliński
parent 16affb94d4
commit 34322ebb41
1 changed files with 3 additions and 2 deletions

View File

@ -210,8 +210,9 @@ dword_result_t xeXamContentCreate(dword_t user_index, lpstring_t root_name,
if (license_mask_ptr && XSUCCEEDED(result)) { if (license_mask_ptr && XSUCCEEDED(result)) {
*license_mask_ptr = 0; // Stub! *license_mask_ptr = 0; // Stub!
// Set license only for DLCs // Set license only for DLCs and XBLA titles
if (content_data.content_type == xe::XContentType::kMarketplaceContent) { if (content_data.content_type == xe::XContentType::kMarketplaceContent ||
content_data.content_type == xe::XContentType::kArcadeTitle) {
*license_mask_ptr = static_cast<uint32_t>(cvars::license_mask); *license_mask_ptr = static_cast<uint32_t>(cvars::license_mask);
} }
} }