[XAM] Allow reading binary & unicode settings, but block AVATAR_INFO_1
This commit is contained in:
parent
192a16d3d3
commit
c3a552dc7f
|
@ -310,9 +310,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