From e8dde519cc1119347557f6e453cd52cd49032f5f Mon Sep 17 00:00:00 2001 From: madmodder123 <33565771+madmodder123@users.noreply.github.com> Date: Mon, 24 May 2021 21:33:12 -0700 Subject: [PATCH] [XAM] XamShowSigninUI: Fix issue with loading profile(s) --- src/xenia/kernel/xam/xam_user.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/xenia/kernel/xam/xam_user.cc b/src/xenia/kernel/xam/xam_user.cc index 2d98aa1e0..11457e822 100644 --- a/src/xenia/kernel/xam/xam_user.cc +++ b/src/xenia/kernel/xam/xam_user.cc @@ -546,7 +546,12 @@ DECLARE_XAM_EXPORT1(XamUserAreUsersFriends, kUserProfiles, kStub); dword_result_t XamShowSigninUI(dword_t unk, dword_t unk_mask) { // 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); return X_ERROR_SUCCESS; }