[XAM] Fallback to config license_mask in case of old header version
This commit is contained in:
parent
5696d55575
commit
06dc06b8ca
|
@ -22,6 +22,8 @@
|
|||
#include "xenia/kernel/xobject.h"
|
||||
#include "xenia/vfs/devices/host_path_device.h"
|
||||
|
||||
DECLARE_int32(license_mask);
|
||||
|
||||
namespace xe {
|
||||
namespace kernel {
|
||||
namespace xam {
|
||||
|
@ -55,7 +57,7 @@ ContentPackage::~ContentPackage() {
|
|||
|
||||
void ContentPackage::LoadPackageLicenseMask(
|
||||
const std::filesystem::path header_path) {
|
||||
license_ = 0;
|
||||
license_ = cvars::license_mask;
|
||||
|
||||
if (!std::filesystem::exists(header_path)) {
|
||||
return;
|
||||
|
|
|
@ -139,7 +139,6 @@ class ContentPackage {
|
|||
std::string device_path_;
|
||||
XCONTENT_AGGREGATE_DATA content_data_;
|
||||
uint32_t license_;
|
||||
;
|
||||
};
|
||||
|
||||
class ContentManager {
|
||||
|
|
Loading…
Reference in New Issue