mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 16:43:05 -05:00
Four exports that titles call during start-up were missing. They now follow the single-user / offline model already used in this file (sceUserServiceGetInitialUser, sceUserServiceGetLoginUserIdList, sceUserServiceGetPlatformPrivacyWs1): - sceUserServiceGetForegroundUser(int*) -> the initial user - sceUserServiceGetRegisteredUserIdList(UserServiceRegisteredUserIdList*) -> initial user in slot 0, the other 15 slots invalid - sceUserServiceGetUserColor(int, int*) -> blue (0) - sceUserServiceGetNpAccountId(int, uint64_t*) -> 0 (no PSN account linked) Adds UserServiceRegisteredUserIdList (int[16]) to SceTypes.hpp and a CMakeLists.txt so the library can carry its guest test. Signatures follow the public OpenOrbis SDK headers. New test core/libs/tests/GuestUserService.cpp checks the valid returns, the pointer and wrong-user-id error paths; it fails without the change (the symbols are undefined) and passes with it.