[XAM] Allow reading binary & unicode settings, but block AVATAR_INFO_1
This commit is contained in:
parent
8cdf8fd12c
commit
598cff4b50
|
@ -306,9 +306,9 @@ dword_result_t XamUserReadProfileSettings(
|
||||||
|
|
||||||
bool exists = gpd && gpd->GetSetting(setting_id, &setting);
|
bool exists = gpd && gpd->GetSetting(setting_id, &setting);
|
||||||
|
|
||||||
// TODO: fix binary & unicode settings crashing dash.xex!
|
// TODO: fix this setting causing dash.xex to crash
|
||||||
if (setting.value.type == xdbf::X_XUSER_DATA_TYPE::kBinary ||
|
// (probably makes it call into avatar code)
|
||||||
setting.value.type == xdbf::X_XUSER_DATA_TYPE::kUnicode) {
|
if (setting.id == xdbf::XPROFILE_GAMERCARD_AVATAR_INFO_1) {
|
||||||
exists = false;
|
exists = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue