mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-03-26 20:58:32 -06:00
|
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
* 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. |
||
|---|---|---|
| .. | ||
| common | ||
| core | ||
| images | ||
| imgui | ||
| input | ||
| qt_gui | ||
| shader_recompiler | ||
| video_core | ||
| .clang-format | ||
| emulator.cpp | ||
| emulator.h | ||
| main.cpp | ||
| sdl_window.cpp | ||
| sdl_window.h | ||
| shadps4.qrc | ||
| shadps4.rc | ||