[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
@@ -340,7 +340,8 @@ struct XContentMetadata {
|
||||
} description_ex_raw;
|
||||
|
||||
std::u16string display_name(XLanguage language) const {
|
||||
uint32_t lang_id = uint32_t(language) - 1;
|
||||
uint32_t lang_id =
|
||||
language == XLanguage::kInvalid ? 1 : uint32_t(language) - 1;
|
||||
|
||||
if (lang_id >= kNumLanguagesV2) {
|
||||
assert_always();
|
||||
|
||||
@@ -53,6 +53,8 @@ class XContentContainerDevice : public Device {
|
||||
return files_total_size_ - sizeof(XContentContainerHeader);
|
||||
}
|
||||
|
||||
uint64_t xuid() const { return header_->content_metadata.profile_id; }
|
||||
|
||||
uint32_t title_id() const {
|
||||
return header_->content_metadata.execution_info.title_id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user