[XAM] XamShowSigninUI: Fix issue with loading profile(s)

This commit is contained in:
madmodder123 2021-05-24 21:33:12 -07:00 committed by Rick Gibbed
parent 1cc0c1c985
commit e8dde519cc
1 changed files with 6 additions and 1 deletions

View File

@ -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;
} }