mirror of
https://github.com/xenia-project/xenia.git
synced 2026-04-20 22:13:40 +00:00
[XAM] Set license mask for DLCs (Thanks Beeanyew)
This commit is contained in:
parent
98c2cb636f
commit
6e501fbd61
1 changed files with 5 additions and 0 deletions
|
|
@ -216,6 +216,11 @@ dword_result_t xeXamContentCreate(dword_t user_index, lpstring_t root_name,
|
|||
|
||||
if (license_mask_ptr && XSUCCEEDED(result)) {
|
||||
*license_mask_ptr = 0; // Stub!
|
||||
|
||||
// Set license only for DLCs
|
||||
if (content_data.content_type == xe::XContentType::kMarketplaceContent) {
|
||||
*license_mask_ptr = static_cast<uint32_t>(cvars::license_mask);
|
||||
}
|
||||
}
|
||||
|
||||
extended_error = X_HRESULT_FROM_WIN32(result);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue