[Kernel] Implemented Game Info Database
This aggregates XDBF and XLAST into one entity. Replaced UserData::Key into more versatile AttributeKey for future usage in properties
This commit is contained in:
@@ -146,7 +146,7 @@ class UserSetting {
|
||||
X_USER_PROFILE_SETTING_SOURCE::DEFAULT;
|
||||
|
||||
X_USER_PROFILE_SETTING_HEADER header_ = {};
|
||||
UserData::Key setting_id_ = {};
|
||||
AttributeKey setting_id_ = {};
|
||||
std::unique_ptr<UserData> user_data_ = nullptr;
|
||||
};
|
||||
|
||||
|
||||
@@ -200,7 +200,7 @@ uint32_t XamUserReadProfileSettingsEx(uint32_t title_id, uint32_t user_index,
|
||||
uint32_t needed_data_size = 0;
|
||||
for (uint32_t i = 0; i < setting_count; ++i) {
|
||||
needed_header_size += sizeof(X_USER_PROFILE_SETTING);
|
||||
UserData::Key setting_key;
|
||||
AttributeKey setting_key;
|
||||
setting_key.value = static_cast<uint32_t>(setting_ids[i]);
|
||||
switch (static_cast<X_USER_DATA_TYPE>(setting_key.type)) {
|
||||
case X_USER_DATA_TYPE::WSTRING:
|
||||
|
||||
Reference in New Issue
Block a user