mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 08:13:05 +00:00
libs: provide NpEntitlementAccessPft state query used by FC27 (#1897)
Co-authored-by: Andre Michi <herrmirto@proton.me>
This commit is contained in:
1 parent
83f8bfd3c9
commit
99044c7c49
2 files changed
+26
No files matched your search
@@ -513,4 +513,26 @@ LIB_DEFINE(InitNet_1_NpEntitlementAccess) {
|
||||
|
||||
} // namespace LibNpEntitlementAccess
|
||||
|
||||
namespace LibNpEntitlementAccessPft {
|
||||
|
||||
LIB_VERSION("NpEntitlementAccessPft", 1, "NpEntitlementAccess", 1, 1);
|
||||
|
||||
// Unknown function; return state 2 for the FC27 investigation.
|
||||
static int KYTY_SYSV_ABI NpEntitlementAccessPftUnknowneDXKe9FndlE(uint32_t* state) {
|
||||
PRINT_NAME();
|
||||
|
||||
if (state == nullptr) {
|
||||
return LibNpEntitlementAccess::NP_ENTITLEMENT_ACCESS_ERROR_PARAMETER;
|
||||
}
|
||||
|
||||
*state = 2;
|
||||
return 0;
|
||||
}
|
||||
|
||||
LIB_DEFINE(InitNet_1_NpEntitlementAccessPft) {
|
||||
LIB_FUNC("eDXKe9FndlE", NpEntitlementAccessPftUnknowneDXKe9FndlE);
|
||||
}
|
||||
|
||||
} // namespace LibNpEntitlementAccessPft
|
||||
|
||||
} // namespace Libs
|
||||
Reference in new issue
Block a user