mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-29 13:34:37 +00:00
clang
This commit is contained in:
parent
303b4c4ce2
commit
f04cdd7cc8
@ -600,7 +600,7 @@ s32 PS4_SYSV_ABI sceUserServiceGetLoginUserIdList(OrbisUserServiceLoginUserIdLis
|
|||||||
// TODO only first user, do the others as well
|
// TODO only first user, do the others as well
|
||||||
int player_count = Config::GetNumberOfPlayers();
|
int player_count = Config::GetNumberOfPlayers();
|
||||||
for (int i = 0; i < 4; i++) {
|
for (int i = 0; i < 4; i++) {
|
||||||
if(i < player_count) {
|
if (i < player_count) {
|
||||||
userIdList->user_id[i] = i + 1;
|
userIdList->user_id[i] = i + 1;
|
||||||
} else {
|
} else {
|
||||||
userIdList->user_id[i] = ORBIS_USER_SERVICE_USER_ID_INVALID;
|
userIdList->user_id[i] = ORBIS_USER_SERVICE_USER_ID_INVALID;
|
||||||
|
Loading…
Reference in New Issue
Block a user