[XAM] Set profile setting 'from' entry accordingly to setting existence
This commit is contained in:
parent
ce3b159683
commit
2b3686f0e9
|
@ -304,8 +304,13 @@ uint32_t XamUserReadProfileSettingsEx(uint32_t title_id, uint32_t user_index,
|
||||||
out_setting->setting_id = setting_id;
|
out_setting->setting_id = setting_id;
|
||||||
|
|
||||||
if (setting) {
|
if (setting) {
|
||||||
|
out_setting->from = 1;
|
||||||
out_setting->data.type = uint8_t(setting->type);
|
out_setting->data.type = uint8_t(setting->type);
|
||||||
if (setting->is_set) {
|
if (setting->is_set) {
|
||||||
|
if (setting->is_title_specific()) {
|
||||||
|
out_setting->from = 2;
|
||||||
|
}
|
||||||
|
|
||||||
setting->Append(&out_setting->data, &out_stream);
|
setting->Append(&out_setting->data, &out_stream);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue