From 06f0389cb83d2b25d4606731000df043a69c7866 Mon Sep 17 00:00:00 2001 From: emoose Date: Wed, 25 Dec 2019 20:28:44 +0000 Subject: [PATCH] [XAM] Allow reading binary & unicode settings, but block AVATAR_INFO_1 --- src/xenia/kernel/xam/xam_user.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xenia/kernel/xam/xam_user.cc b/src/xenia/kernel/xam/xam_user.cc index 64d211633..d4d880c36 100644 --- a/src/xenia/kernel/xam/xam_user.cc +++ b/src/xenia/kernel/xam/xam_user.cc @@ -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; }