[Kernel] Fixed applying TUs to multi disc games

This commit is contained in:
Gliniak 2024-10-22 20:05:35 +02:00
parent 32cebd7a11
commit 1c4527c1e7
1 changed files with 3 additions and 2 deletions

View File

@ -592,8 +592,9 @@ const object_ref<UserModule> KernelState::LoadTitleUpdate(
disc_number = module->disc_number();
}
X_RESULT open_status =
content_manager()->OpenContent("UPDATE", 0, *title_update, disc_number);
uint32_t content_license = 0;
X_RESULT open_status = content_manager()->OpenContent(
"UPDATE", 0, *title_update, content_license, disc_number);
// Use the corresponding patch for the launch module
std::filesystem::path patch_xexp;