[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 illusion
parent 4c88725f33
commit 06f0389cb8
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);
// TODO: fix binary & unicode settings crashing dash.xex!
if (setting.value.type == xdbf::X_XUSER_DATA_TYPE::kBinary ||
setting.value.type == xdbf::X_XUSER_DATA_TYPE::kUnicode) {
// TODO: fix this setting causing dash.xex to crash
// (probably makes it call into avatar code)
if (setting.id == xdbf::XPROFILE_GAMERCARD_AVATAR_INFO_1) {
exists = false;
}