diff --git a/src/xenia/kernel/xam/content_manager.cc b/src/xenia/kernel/xam/content_manager.cc index 1c32bd66f..7e5eedf3c 100644 --- a/src/xenia/kernel/xam/content_manager.cc +++ b/src/xenia/kernel/xam/content_manager.cc @@ -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; diff --git a/src/xenia/kernel/xam/content_manager.h b/src/xenia/kernel/xam/content_manager.h index 49cb8bd93..a94674ca6 100644 --- a/src/xenia/kernel/xam/content_manager.h +++ b/src/xenia/kernel/xam/content_manager.h @@ -139,7 +139,6 @@ class ContentPackage { std::string device_path_; XCONTENT_AGGREGATE_DATA content_data_; uint32_t license_; - ; }; class ContentManager {