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.
This commit is contained in:
Stephen 2025-01-14 16:51:04 -06:00
parent d94abffd9a
commit 11192d03c9

View File

@ -940,9 +940,9 @@ int PS4_SYSV_ABI sceNpGetAccountId() {
return ORBIS_OK;
}
int PS4_SYSV_ABI sceNpGetAccountIdA() {
LOG_ERROR(Lib_NpManager, "(STUBBED) called");
return ORBIS_OK;
int PS4_SYSV_ABI sceNpGetAccountIdA(s32 user_id, u64* account_id) {
LOG_DEBUG(Lib_NpManager, "user_id {}", user_id);
return ORBIS_NP_ERROR_SIGNED_OUT;
}
int PS4_SYSV_ABI sceNpGetAccountLanguage() {