[XAM] Set license mask for XBLA titles as well
This commit is contained in:
parent
16affb94d4
commit
34322ebb41
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue