[XAM] XamShowSigninUI: Fix issue with loading profile(s)
This commit is contained in:
parent
1cc0c1c985
commit
e8dde519cc
|
@ -546,7 +546,12 @@ DECLARE_XAM_EXPORT1(XamUserAreUsersFriends, kUserProfiles, kStub);
|
||||||
|
|
||||||
dword_result_t XamShowSigninUI(dword_t unk, dword_t unk_mask) {
|
dword_result_t XamShowSigninUI(dword_t unk, dword_t unk_mask) {
|
||||||
// Mask values vary. Probably matching user types? Local/remote?
|
// Mask values vary. Probably matching user types? Local/remote?
|
||||||
// Games seem to sit and loop until we trigger this notification.
|
|
||||||
|
// To fix game modes that display a 4 profile signin UI (even if playing alone):
|
||||||
|
// XN_SYS_SIGNINCHANGED
|
||||||
|
kernel_state()->BroadcastNotification(0x0000000A, 1);
|
||||||
|
// Games seem to sit and loop until we trigger this notification:
|
||||||
|
// XN_SYS_UI (off)
|
||||||
kernel_state()->BroadcastNotification(0x00000009, 0);
|
kernel_state()->BroadcastNotification(0x00000009, 0);
|
||||||
return X_ERROR_SUCCESS;
|
return X_ERROR_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue