mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-10-30 07:11:05 +00:00
imports: always report user signed in
This fixes other plugged in controllers calling XamShowSignInUI and waiting for a response from an unimplemented function.
This commit is contained in:
parent
a94009d2e8
commit
6fef7bb9d4
1 changed files with 5 additions and 5 deletions
|
|
@ -93,7 +93,7 @@ uint32_t XMsgStartIORequest(DWORD App, DWORD Message, XXOVERLAPPED* lpOverlapped
|
||||||
uint32_t XamUserGetSigninState(uint32_t userIndex)
|
uint32_t XamUserGetSigninState(uint32_t userIndex)
|
||||||
{
|
{
|
||||||
// printf("!!! STUB !!! XamUserGetSigninState\n");
|
// printf("!!! STUB !!! XamUserGetSigninState\n");
|
||||||
return userIndex == 0;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t XamGetSystemVersion()
|
uint32_t XamGetSystemVersion()
|
||||||
|
|
@ -135,7 +135,7 @@ uint32_t XamContentGetDeviceState()
|
||||||
|
|
||||||
uint32_t XamUserGetSigninInfo(uint32_t userIndex, uint32_t flags, XUSER_SIGNIN_INFO* info)
|
uint32_t XamUserGetSigninInfo(uint32_t userIndex, uint32_t flags, XUSER_SIGNIN_INFO* info)
|
||||||
{
|
{
|
||||||
//printf("!!! STUB !!! XamUserGetSigninInfo\n");
|
// printf("!!! STUB !!! XamUserGetSigninInfo\n");
|
||||||
if (userIndex == 0)
|
if (userIndex == 0)
|
||||||
{
|
{
|
||||||
memset(info, 0, sizeof(*info));
|
memset(info, 0, sizeof(*info));
|
||||||
|
|
@ -145,12 +145,12 @@ uint32_t XamUserGetSigninInfo(uint32_t userIndex, uint32_t flags, XUSER_SIGNIN_I
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0x00000525;
|
return 0x00000525; // ERROR_NO_SUCH_USER
|
||||||
}
|
}
|
||||||
|
|
||||||
void XamShowSigninUI()
|
void XamShowSigninUI(uint32_t userIndex, uint32_t usersNeeded, uint32_t flags)
|
||||||
{
|
{
|
||||||
printf("!!! STUB !!! XamShowSigninUI\n");
|
printf("!!! STUB !!! XamShowSigninUI %d %d 0x%X\n", userIndex, usersNeeded, flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t XamShowDeviceSelectorUI(
|
uint32_t XamShowDeviceSelectorUI(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue