From 598cff4b50666838f7bbbb844b9bbe324d29de51 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 f8248589d..935d37c59 100644 --- a/src/xenia/kernel/xam/xam_user.cc +++ b/src/xenia/kernel/xam/xam_user.cc @@ -306,9 +306,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; }