[XAM] Implementation of: Profile Manager & Profiles Support
Thanks Emoose for Account Encrypt/Decrypt code!
This commit is contained in:
committed by
Radosław Gliński
parent
9ba0f18c82
commit
9bdd07590c
@@ -106,6 +106,10 @@ KernelState::~KernelState() {
|
||||
KernelState* KernelState::shared() { return shared_kernel_state_; }
|
||||
|
||||
uint32_t KernelState::title_id() const {
|
||||
if (!executable_module_) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
assert_not_null(executable_module_);
|
||||
|
||||
xex2_opt_execution_info* exec_info = 0;
|
||||
@@ -577,7 +581,7 @@ std::vector<xam::XCONTENT_AGGREGATE_DATA> KernelState::FindTitleUpdate(
|
||||
}
|
||||
|
||||
return xam_state_->content_manager()->ListContent(
|
||||
1, xe::XContentType::kInstaller, title_id);
|
||||
1, 0, title_id, xe::XContentType::kInstaller);
|
||||
}
|
||||
|
||||
const object_ref<UserModule> KernelState::LoadTitleUpdate(
|
||||
@@ -589,7 +593,7 @@ const object_ref<UserModule> KernelState::LoadTitleUpdate(
|
||||
}
|
||||
|
||||
X_RESULT open_status =
|
||||
content_manager()->OpenContent("UPDATE", *title_update, disc_number);
|
||||
content_manager()->OpenContent("UPDATE", 0, *title_update, disc_number);
|
||||
|
||||
// Use the corresponding patch for the launch module
|
||||
std::filesystem::path patch_xexp;
|
||||
|
||||
Reference in New Issue
Block a user