Spamming some notifications on startup to unhang games.
This commit is contained in:
@@ -48,9 +48,16 @@ SHIM_CALL XamUserGetSigninState_shim(PPCContext* ppc_state,
|
||||
// from initializing the network.
|
||||
if (user_index == 0 || (user_index & 0xFF) == 0xFF) {
|
||||
const auto& user_profile = state->user_profile();
|
||||
SHIM_SET_RETURN_64(user_profile->signin_state());
|
||||
auto signin_state = user_profile->signin_state();
|
||||
SHIM_SET_RETURN_64(signin_state);
|
||||
|
||||
// Notify we exist, just for fun.
|
||||
state->BroadcastNotification(0x0000000A, signin_state ? 1 : 0);
|
||||
} else {
|
||||
SHIM_SET_RETURN_64(0);
|
||||
|
||||
// Notify no users.
|
||||
state->BroadcastNotification(0x0000000A, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user