shadPS4/src/core
Stephen Miller 4fa501c8d5
Additional libSceNpManager functions and cleanup (#2195)
* Error return on sceNpGetAccountIdA

Confirmed through hardware testing, this returns ORBIS_NP_ERROR_SIGNED_OUT on a signed out console.

Parameters are based on fpPS4 code.

* Fix compile

* Move errors to separate file

* Cleanup function headers

Swaps user_ids to use our OrbisUserServiceUserId type, and fixes parameter names to align with our coding standards.

* Add proper parameter checks

* Implement sceNpGetAccountId

This function takes an online_id, uses an NpManager function to get the user_id, then uses that user_id to perform the same internal functions as sceNpGetAccountIdA.

* Implement sceNpHasSignedUp

* Fix sceNpGetAccountId

Further hardware testing shows that these always write 0 to account_id when failing.

* Update np_manager.cpp
2025-01-19 19:12:42 -08:00
..
aerolib fix typo in LOG_INFO (#559) 2024-08-26 15:22:11 +03:00
crypto Fix for trophy decryption (#2005) 2025-01-01 19:11:30 +01:00
devices Filesystem devices (#2184) 2025-01-19 10:44:57 -03:00
devtools Devtools: Close Button ( X ) (#2187) 2025-01-19 17:45:24 +02:00
file_format Fix for trophy decryption (#2005) 2025-01-01 19:11:30 +01:00
file_sys file_sys: Consolidate separate update directory handling. (#2041) 2025-01-08 13:23:40 +02:00
libraries Additional libSceNpManager functions and cleanup (#2195) 2025-01-19 19:12:42 -08:00
loader Fix path bugs & wrap seeks in an if (#1154) 2024-09-30 12:42:59 +03:00
address_space.cpp core: better memory configuration (#1896) 2024-12-28 12:03:00 +01:00
address_space.h renderer_vulkan: Commize and adjust buffer bindings (#1412) 2024-10-19 15:30:58 +03:00
cpu_patches.cpp Fix fmt error (#1150) 2024-09-29 14:02:46 +02:00
cpu_patches.h core: Library cleanup (#1631) 2024-11-30 22:37:36 +02:00
debug_state.cpp Devtools IV (#1910) 2024-12-26 23:08:47 +02:00
debug_state.h keep framerate stable even without vsync (#2165) 2025-01-16 21:10:17 -03:00
linker.cpp CLI: Add argument to pass an argument to the game (#2135) 2025-01-18 15:21:08 +03:00
linker.h CLI: Add argument to pass an argument to the game (#2135) 2025-01-18 15:21:08 +03:00
loader.cpp - Added trophy decryption when extracting a fpkg. trp icons and xmls are dumped to game_data/<title> (can be restored if deleted by accident by opening the trophy viewer) 2024-06-10 20:42:21 -06:00
loader.h - Added trophy decryption when extracting a fpkg. trp icons and xmls are dumped to game_data/<title> (can be restored if deleted by accident by opening the trophy viewer) 2024-06-10 20:42:21 -06:00
memory.cpp Unmap Fixes (#2080) 2025-01-08 14:08:54 +02:00
memory.h core: better memory configuration (#1896) 2024-12-28 12:03:00 +01:00
module.cpp core: Return proper address of eh frame/add more opcodes 2024-12-06 00:47:11 +02:00
module.h kernel: Rewrite pthread emulation (#1440) 2024-11-21 22:59:38 +02:00
platform.h Support for Vulkan 1.4 (#1665) 2024-12-07 19:41:41 +02:00
signals.cpp semaphore: Use condvars with separate signaled flag to prevent races (#1615) 2024-11-30 19:19:07 +02:00
signals.h Patch extrq (#943) 2024-09-23 19:19:52 +03:00
thread.cpp exception: Fix raising exceptions on POSIX systems (#1868) 2024-12-25 00:21:32 +02:00
thread.h Switch remaining CRLF terminated files to LF 2024-12-24 13:56:31 +01:00
tls.cpp kernel: Rewrite pthread emulation (#1440) 2024-11-21 22:59:38 +02:00
tls.h core/libraries: HLE fiber reimplementation (#1836) 2024-12-24 13:33:00 +01:00