[XAM/User] XamUserGetGamerTag - added exception for user_index -1 (0xFF)

(Fixes gamertag in 9199 dash)
This commit is contained in:
Gliniak 2019-12-20 20:53:07 +01:00 committed by illusion98
parent e386038a62
commit edac054ebd
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ DECLARE_XAM_EXPORT1(XamUserGetName, kUserProfiles, kImplemented);
dword_result_t XamUserGetGamerTag(dword_t user_index, lpwstring_t buffer, dword_result_t XamUserGetGamerTag(dword_t user_index, lpwstring_t buffer,
dword_t buffer_len) { dword_t buffer_len) {
if (user_index) { if (user_index && user_index != 0xFF) {
return X_ERROR_NO_SUCH_USER; return X_ERROR_NO_SUCH_USER;
} }