mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-05 08:52:36 +00:00
Cleanup function headers
Swaps user_ids to use our OrbisUserServiceUserId type, and fixes parameter names to align with our coding standards.
This commit is contained in:
parent
9fac6c774a
commit
64684f9c48
@ -941,7 +941,7 @@ int PS4_SYSV_ABI sceNpGetAccountId() {
|
|||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int PS4_SYSV_ABI sceNpGetAccountIdA(s32 user_id, u64* account_id) {
|
int PS4_SYSV_ABI sceNpGetAccountIdA(OrbisUserServiceUserId user_id, u64* account_id) {
|
||||||
LOG_DEBUG(Lib_NpManager, "user_id {}", user_id);
|
LOG_DEBUG(Lib_NpManager, "user_id {}", user_id);
|
||||||
return ORBIS_NP_ERROR_SIGNED_OUT;
|
return ORBIS_NP_ERROR_SIGNED_OUT;
|
||||||
}
|
}
|
||||||
@ -981,7 +981,7 @@ int PS4_SYSV_ABI sceNpGetNpReachabilityState() {
|
|||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int PS4_SYSV_ABI sceNpGetOnlineId(s32 user_id, OrbisNpOnlineId* online_id) {
|
int PS4_SYSV_ABI sceNpGetOnlineId(OrbisUserServiceUserId user_id, OrbisNpOnlineId* online_id) {
|
||||||
LOG_DEBUG(Lib_NpManager, "user_id {}", user_id);
|
LOG_DEBUG(Lib_NpManager, "user_id {}", user_id);
|
||||||
return ORBIS_NP_ERROR_SIGNED_OUT;
|
return ORBIS_NP_ERROR_SIGNED_OUT;
|
||||||
}
|
}
|
||||||
@ -996,7 +996,7 @@ int PS4_SYSV_ABI sceNpGetParentalControlInfoA() {
|
|||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int PS4_SYSV_ABI sceNpGetState(s32 userId, OrbisNpState* state) {
|
int PS4_SYSV_ABI sceNpGetState(OrbisUserServiceUserId user_id, OrbisNpState* state) {
|
||||||
*state = OrbisNpState::SignedOut;
|
*state = OrbisNpState::SignedOut;
|
||||||
LOG_DEBUG(Lib_NpManager, "Signed out");
|
LOG_DEBUG(Lib_NpManager, "Signed out");
|
||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
|
@ -219,18 +219,18 @@ int PS4_SYSV_ABI sceNpGetAccountCountryA();
|
|||||||
int PS4_SYSV_ABI sceNpGetAccountDateOfBirth();
|
int PS4_SYSV_ABI sceNpGetAccountDateOfBirth();
|
||||||
int PS4_SYSV_ABI sceNpGetAccountDateOfBirthA();
|
int PS4_SYSV_ABI sceNpGetAccountDateOfBirthA();
|
||||||
int PS4_SYSV_ABI sceNpGetAccountId();
|
int PS4_SYSV_ABI sceNpGetAccountId();
|
||||||
int PS4_SYSV_ABI sceNpGetAccountIdA(s32 user_id, u64* account_id);
|
int PS4_SYSV_ABI sceNpGetAccountIdA(OrbisUserServiceUserId user_id, u64* account_id);
|
||||||
int PS4_SYSV_ABI sceNpGetAccountLanguage();
|
int PS4_SYSV_ABI sceNpGetAccountLanguage();
|
||||||
int PS4_SYSV_ABI sceNpGetAccountLanguage2();
|
int PS4_SYSV_ABI sceNpGetAccountLanguage2();
|
||||||
int PS4_SYSV_ABI sceNpGetAccountLanguageA();
|
int PS4_SYSV_ABI sceNpGetAccountLanguageA();
|
||||||
int PS4_SYSV_ABI sceNpGetGamePresenceStatus();
|
int PS4_SYSV_ABI sceNpGetGamePresenceStatus();
|
||||||
int PS4_SYSV_ABI sceNpGetGamePresenceStatusA();
|
int PS4_SYSV_ABI sceNpGetGamePresenceStatusA();
|
||||||
int PS4_SYSV_ABI sceNpGetNpId(OrbisUserServiceUserId userId, OrbisNpId* npId);
|
int PS4_SYSV_ABI sceNpGetNpId(OrbisUserServiceUserId user_id, OrbisNpId* np_id);
|
||||||
int PS4_SYSV_ABI sceNpGetNpReachabilityState();
|
int PS4_SYSV_ABI sceNpGetNpReachabilityState();
|
||||||
int PS4_SYSV_ABI sceNpGetOnlineId(s32 userId, OrbisNpOnlineId* onlineId);
|
int PS4_SYSV_ABI sceNpGetOnlineId(OrbisUserServiceUserId user_id, OrbisNpOnlineId* online_id);
|
||||||
int PS4_SYSV_ABI sceNpGetParentalControlInfo();
|
int PS4_SYSV_ABI sceNpGetParentalControlInfo();
|
||||||
int PS4_SYSV_ABI sceNpGetParentalControlInfoA();
|
int PS4_SYSV_ABI sceNpGetParentalControlInfoA();
|
||||||
int PS4_SYSV_ABI sceNpGetState(s32 userId, OrbisNpState* state);
|
int PS4_SYSV_ABI sceNpGetState(OrbisUserServiceUserId user_id, OrbisNpState* state);
|
||||||
int PS4_SYSV_ABI sceNpGetUserIdByAccountId();
|
int PS4_SYSV_ABI sceNpGetUserIdByAccountId();
|
||||||
int PS4_SYSV_ABI sceNpGetUserIdByOnlineId();
|
int PS4_SYSV_ABI sceNpGetUserIdByOnlineId();
|
||||||
int PS4_SYSV_ABI sceNpHasSignedUp();
|
int PS4_SYSV_ABI sceNpHasSignedUp();
|
||||||
|
Loading…
Reference in New Issue
Block a user