From cb1ee7326f2dc45f99ba9f668b68ddd540ccb580 Mon Sep 17 00:00:00 2001 From: Gliniak Date: Fri, 20 Dec 2019 20:53:07 +0100 Subject: [PATCH] [XAM/User] XamUserGetGamerTag - added exception for user_index -1 (0xFF) (Fixes gamertag in 9199 dash) --- src/xenia/kernel/xam/xam_user.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/kernel/xam/xam_user.cc b/src/xenia/kernel/xam/xam_user.cc index 83f829ae4..ebb3aa7f8 100644 --- a/src/xenia/kernel/xam/xam_user.cc +++ b/src/xenia/kernel/xam/xam_user.cc @@ -194,7 +194,7 @@ DECLARE_XAM_EXPORT1(XamUserGetName, kUserProfiles, kImplemented); dword_result_t XamUserGetGamerTag(dword_t user_index, lpwstring_t buffer, dword_t buffer_len) { - if (user_index) { + if (user_index && user_index != 0xFF) { return X_ERROR_NO_SUCH_USER; }