shadPS4/src
Stephen Miller b34556702e
Some checks failed
Build and Release / reuse (push) Has been cancelled
Build and Release / clang-format (push) Has been cancelled
Build and Release / get-info (push) Has been cancelled
Build and Release / windows-sdl (push) Has been cancelled
Build and Release / windows-qt (push) Has been cancelled
Build and Release / macos-sdl (push) Has been cancelled
Build and Release / macos-qt (push) Has been cancelled
Build and Release / linux-sdl (push) Has been cancelled
Build and Release / linux-qt (push) Has been cancelled
Build and Release / linux-sdl-gcc (push) Has been cancelled
Build and Release / linux-qt-gcc (push) Has been cancelled
Build and Release / pre-release (push) Has been cancelled
NpAuth: Improved stubs (#3712)
* Some structs and function definitions

* Fill in remaining function definitions and structs

The original variants of GetIdToken and GetAuthorizationCode use an online id instead of user id.
The V3 functions use the same internal function, but with a different flag. Unless games show me something different, they likely use the same structs, and definitely use the same parameters.

* Some errors

* Minor formatting change

* Some more errors

* GetIdToken error cases

* Remaining error cases

Just need to tackle request-related logic now.

* Basic request handling

Seems to internally behave similarly to libSceNpManager, but the actual data stored in libSceNpAuth requests appears to be different, so I've kept everything separated.

* NpAuthRequest usage

Again, behavior mirrors libSceNpManager request behavior, though it appears to be a separate implementation.
The only time libSceNpAuth uses libSceNpManager is to actually send the requests, where the act of sending a request involves creating a completely separate NpManager request, using NpManager functions to retrieve the desired data, then deleting the underlying NpManager request. All of this would happen inside GetAuthorizationCode and GetIdToken.

* Oops

* Missing mutexes

* Default output variables to zero

Not sure what all games might check for here, but setting the outputs to zero is probably safe.
2025-10-05 17:31:21 -07:00
..
common amdgpu: Split liverpool registers and cleanup (#3707) 2025-10-05 13:42:40 -07:00
core NpAuth: Improved stubs (#3712) 2025-10-05 17:31:21 -07:00
images Qt: Add GUI for game-specific settings (#3533) 2025-09-10 12:18:39 +03:00
imgui build: Fix a couple more warnings. (#3598) 2025-09-13 15:33:42 -07:00
input Hotkey config changes (#3391) 2025-09-04 20:47:06 +03:00
qt_gui Add CLI argument to launch the emulator with global config or with default settings (#3688) 2025-10-01 12:28:34 -07:00
shader_recompiler amdgpu: Split liverpool registers and cleanup (#3707) 2025-10-05 13:42:40 -07:00
video_core amdgpu: Split liverpool registers and cleanup (#3707) 2025-10-05 13:42:40 -07:00
.clang-format chore: Make shadps4 REUSE compliant 2024-02-23 23:33:43 +02:00
emulator.cpp VK Layer Settings remove deprecated (#3676) 2025-10-02 12:50:23 -07:00
emulator.h Impl sceSystemServiceLoadExec (#3647) 2025-09-25 23:01:52 -03:00
main.cpp restore accidentally deleted line (#3695) 2025-10-02 12:34:17 +03:00
sdl_window.cpp Hotkey config changes (#3391) 2025-09-04 20:47:06 +03:00
sdl_window.h Hotkey config changes (#3391) 2025-09-04 20:47:06 +03:00
shadps4.qrc Qt: Add GUI for game-specific settings (#3533) 2025-09-10 12:18:39 +03:00
shadps4.rc [Windows] Adding Properties to the Executable (#2789) 2025-04-17 09:43:14 +03:00