netcode-revival: report unk08=1 (Live indicator) in XamUserGetSigninInfo
Some checks are pending
Lint & Format Check / Format Check (push) Waiting to run

The 'enter online flow' gate (sub_82703960) requires XamUserGetSigninInfo(
liveFlag).unk08 == 1 or it shows 'please login with Xbox Live'. Set unk08 to
1 when the profile is Live signed-in.
This commit is contained in:
MiTHRAL 2026-08-28 22:03:44 -04:00
parent 7b9d706f79
commit aa8cda81a8

View file

@ -126,6 +126,10 @@ i32 XamUserGetSigninInfo_entry(u32 user_index, u32 flags, ppc_ptr_t<X_USER_SIGNI
info->xuid = user_profile->xuid();
info->signin_state = user_profile->signin_state();
// netcode-revival: the game's "enter online flow" gate (sub_82703960)
// requires unk08 == 1 (a Live indicator) or it shows "please login with
// Xbox Live". Set it when the profile is Live signed-in.
info->unk08 = user_profile->is_live_signed_in() ? 1 : 0;
rex::string::util_copy_truncating(info->name, user_profile->name(), rex::countof(info->name));
if (REXCVAR_GET(xnet_trace)) {
REXLOG_INFO("xam trace: XamUserGetSigninInfo(user={}, flags={}) -> signin_state={}",