[XAM/User] XamUserGetGamerTag - added exception for user_index -1 (0xFF)
(Fixes gamertag in 9199 dash)
This commit is contained in:
parent
e386038a62
commit
edac054ebd
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue