I missed this call before apparently

This commit is contained in:
kalaposfos13 2026-03-07 14:43:22 +01:00
parent 44276b1032
commit 54efbcecc5

View File

@ -318,7 +318,11 @@ void GameControllers::TryOpenSDLControllers(GameControllers& controllers) {
if (controller_count == 0) {
auto u = UserManagement.GetUserByPlayerIndex(1);
controllers[0]->user_id = u->user_id;
AddUserServiceEvent({OrbisUserServiceEventType::Login, controllers[0]->user_id});
if (Common::ElfInfo::Instance()
.GetPSFAttributes()
.support_initial_user_logout.Value() == true) {
AddUserServiceEvent({OrbisUserServiceEventType::Login, controllers[0]->user_id});
}
}
}
SDL_free(new_joysticks);