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