[XAM] Small XamUserReadProfileSettings improvements
This commit is contained in:
parent
e8374d98fe
commit
e9b9302cd3
|
@ -278,13 +278,17 @@ uint32_t XamUserReadProfileSettingsEx(uint32_t title_id, uint32_t user_index,
|
|||
if (xuids) {
|
||||
out_setting->xuid = user_profile->xuid();
|
||||
} else {
|
||||
out_setting->xuid = -1;
|
||||
out_setting->user_index = static_cast<uint32_t>(user_index);
|
||||
}
|
||||
out_setting->setting_id = setting_id;
|
||||
|
||||
if (setting && setting->is_set) {
|
||||
if (setting) {
|
||||
out_setting->data.type = uint8_t(setting->type);
|
||||
if (setting->is_set) {
|
||||
setting->Append(&out_setting->data, &out_stream);
|
||||
}
|
||||
}
|
||||
++out_setting;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue