mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-21 16:12:47 -05:00
There is no PSN sign-in, so the code getter answers SCE_NP_ERROR_SIGNED_OUT instead of throwing; its parameters are unknown and not read. Minecraft (PPSA17221) calls it after its sign-in dialog and treats the result as offline play. The request, token and wait calls are left to #3604. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
14 lines
362 B
C++
14 lines
362 B
C++
#include "prx/libc/include/general/VabiMacros.hpp"
|
|
#include <cstdlib>
|
|
|
|
extern "C" {
|
|
int APS5_VABI sceNpAuthGetAuthorizedAppCode();
|
|
}
|
|
|
|
int main() {
|
|
constexpr int kSignedOut = static_cast<int>(0x80550006);
|
|
if (sceNpAuthGetAuthorizedAppCode() != kSignedOut) std::abort();
|
|
if (sceNpAuthGetAuthorizedAppCode() != kSignedOut) std::abort();
|
|
return 0;
|
|
}
|