[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
parent 8cdf8fd12c
commit 598cff4b50
1 changed files with 3 additions and 3 deletions

View File

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