mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-01 15:02:40 +00:00
apparently just this is still enough
This commit is contained in:
parent
862ab9eebe
commit
3c72de33f5
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
namespace Libraries::NpAuth {
|
namespace Libraries::NpAuth {
|
||||||
|
|
||||||
static u32 auth_id = 1;
|
|
||||||
|
|
||||||
s32 PS4_SYSV_ABI sceNpAuthGetAuthorizationCode() {
|
s32 PS4_SYSV_ABI sceNpAuthGetAuthorizationCode() {
|
||||||
LOG_ERROR(Lib_NpAuth, "(STUBBED) called");
|
LOG_ERROR(Lib_NpAuth, "(STUBBED) called");
|
||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
@ -31,13 +29,12 @@ s32 PS4_SYSV_ABI sceNpAuthCreateAsyncRequest() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
s32 PS4_SYSV_ABI sceNpAuthCreateRequest() {
|
s32 PS4_SYSV_ABI sceNpAuthCreateRequest() {
|
||||||
LOG_ERROR(Lib_NpAuth, "(STUBBED) called");
|
LOG_WARNING(Lib_NpAuth, "(DUMMY) called");
|
||||||
return auth_id++;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
s32 PS4_SYSV_ABI sceNpAuthDeleteRequest(u32 id) {
|
s32 PS4_SYSV_ABI sceNpAuthDeleteRequest(u32 id) {
|
||||||
LOG_ERROR(Lib_NpAuth, "(STUBBED) called");
|
LOG_WARNING(Lib_NpAuth, "(DUMMY) called");
|
||||||
auth_id--;
|
|
||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -97,7 +94,6 @@ void RegisterlibSceNpAuth(Core::Loader::SymbolsResolver* sym) {
|
|||||||
LIB_FUNCTION("gjSyfzSsDcE", "libSceNpAuth", 1, "libSceNpAuth", 1, 1, sceNpAuthPollAsync);
|
LIB_FUNCTION("gjSyfzSsDcE", "libSceNpAuth", 1, "libSceNpAuth", 1, 1, sceNpAuthPollAsync);
|
||||||
LIB_FUNCTION("PM3IZCw-7m0", "libSceNpAuth", 1, "libSceNpAuth", 1, 1, sceNpAuthSetTimeout);
|
LIB_FUNCTION("PM3IZCw-7m0", "libSceNpAuth", 1, "libSceNpAuth", 1, 1, sceNpAuthSetTimeout);
|
||||||
LIB_FUNCTION("SK-S7daqJSE", "libSceNpAuth", 1, "libSceNpAuth", 1, 1, sceNpAuthWaitAsync);
|
LIB_FUNCTION("SK-S7daqJSE", "libSceNpAuth", 1, "libSceNpAuth", 1, 1, sceNpAuthWaitAsync);
|
||||||
LOG_INFO(Lib_NpAuth, "linking done");
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Libraries::NpAuth
|
} // namespace Libraries::NpAuth
|
Loading…
Reference in New Issue
Block a user