netcode-revival: report unk08=1 (Live indicator) in XamUserGetSigninInfo
Some checks are pending
Lint & Format Check / Format Check (push) Waiting to run
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:
parent
7b9d706f79
commit
aa8cda81a8
1 changed files with 4 additions and 0 deletions
|
|
@ -126,6 +126,10 @@ i32 XamUserGetSigninInfo_entry(u32 user_index, u32 flags, ppc_ptr_t<X_USER_SIGNI
|
||||||
|
|
||||||
info->xuid = user_profile->xuid();
|
info->xuid = user_profile->xuid();
|
||||||
info->signin_state = user_profile->signin_state();
|
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));
|
rex::string::util_copy_truncating(info->name, user_profile->name(), rex::countof(info->name));
|
||||||
if (REXCVAR_GET(xnet_trace)) {
|
if (REXCVAR_GET(xnet_trace)) {
|
||||||
REXLOG_INFO("xam trace: XamUserGetSigninInfo(user={}, flags={}) -> signin_state={}",
|
REXLOG_INFO("xam trace: XamUserGetSigninInfo(user={}, flags={}) -> signin_state={}",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue