shadPS4/src
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
..
common pad: Configurable DeadZone (#2030) 2025-01-18 16:02:02 +03:00
core Additional libSceNpManager functions and cleanup (#2195) 2025-01-19 19:12:42 -08:00
images Help - improvement (#1522) 2024-12-09 18:47:26 +02:00
imgui imgui: central node auto-hide tab (#2174) 2025-01-17 16:11:37 -03:00
input input: Unbroke KBM-only input (#2179) 2025-01-18 13:48:39 +03:00
qt_gui CLI: Add argument to pass an argument to the game (#2135) 2025-01-18 15:21:08 +03:00
shader_recompiler renderer: handle disabled clipping (#2146) 2025-01-18 09:20:38 +03:00
video_core hotfix: Move some command buffer references down. 2025-01-19 18:45:37 -08:00
.clang-format chore: Make shadps4 REUSE compliant 2024-02-23 23:33:43 +02:00
emulator.cpp CLI: Add argument to pass an argument to the game (#2135) 2025-01-18 15:21:08 +03:00
emulator.h CLI: Add argument to pass an argument to the game (#2135) 2025-01-18 15:21:08 +03:00
main.cpp CLI: Add argument to pass an argument to the game (#2135) 2025-01-18 15:21:08 +03:00
sdl_window.cpp input: Don't use old input state in GameController::ReadState() (#2170) 2025-01-18 09:59:38 +03:00
sdl_window.h input: Don't use old input state in GameController::ReadState() (#2170) 2025-01-18 09:59:38 +03:00
shadps4.qrc Help - improvement (#1522) 2024-12-09 18:47:26 +02:00
shadps4.rc file formats and qt (#88) 2024-03-01 00:00:35 +02:00