[XAM] Allow reading binary & unicode settings, but block AVATAR_INFO_1

This commit is contained in:
emoose 2019-12-25 20:28:44 +00:00 committed by illusion98
parent 192a16d3d3
commit c3a552dc7f
1 changed files with 3 additions and 3 deletions

View File

@ -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;
} }