diff options
| author | bunnei <bunneidev@gmail.com> | 2021-04-07 14:37:59 -0700 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-07 14:37:59 -0700 | 
| commit | 535e50db1c7fa67402d32b8a910f0431becd095e (patch) | |
| tree | e6c5fbf8bd873b502d95088b9d17246773574925 /src/core/hle | |
| parent | 3173a53db9f9b97bb45d510467c939ab33eeac1e (diff) | |
| parent | 531e797795bfca93ee73c55b52467860aa039832 (diff) | |
Merge pull request #6159 from Morph1984/acc-update-12.x
service: acc: Update service function tables
Diffstat (limited to 'src/core/hle')
| -rw-r--r-- | src/core/hle/service/acc/acc.cpp | 17 | ||||
| -rw-r--r-- | src/core/hle/service/acc/acc_su.cpp | 36 | ||||
| -rw-r--r-- | src/core/hle/service/acc/acc_u1.cpp | 28 | 
3 files changed, 45 insertions, 36 deletions
| diff --git a/src/core/hle/service/acc/acc.cpp b/src/core/hle/service/acc/acc.cpp index 615e20a54..52535ecc0 100644 --- a/src/core/hle/service/acc/acc.cpp +++ b/src/core/hle/service/acc/acc.cpp @@ -610,12 +610,17 @@ public:      explicit DAUTH_O(Core::System& system_, Common::UUID) : ServiceFramework{system_, "dauth:o"} {          // clang-format off          static const FunctionInfo functions[] = { -            {0, nullptr, "EnsureAuthenticationTokenCacheAsync"}, // [5.0.0-5.1.0] GeneratePostData -            {1, nullptr, "LoadAuthenticationTokenCache"}, // 6.0.0+ -            {2, nullptr, "InvalidateAuthenticationTokenCache"}, // 6.0.0+ -            {10, nullptr, "EnsureEdgeTokenCacheAsync"}, // 6.0.0+ -            {11, nullptr, "LoadEdgeTokenCache"}, // 6.0.0+ -            {12, nullptr, "InvalidateEdgeTokenCache"}, // 6.0.0+ +            {0, nullptr, "EnsureAuthenticationTokenCacheAsync"}, +            {1, nullptr, "LoadAuthenticationTokenCache"}, +            {2, nullptr, "InvalidateAuthenticationTokenCache"}, +            {10, nullptr, "EnsureEdgeTokenCacheAsync"}, +            {11, nullptr, "LoadEdgeTokenCache"}, +            {12, nullptr, "InvalidateEdgeTokenCache"}, +            {20, nullptr, "EnsureApplicationAuthenticationCacheAsync"}, +            {21, nullptr, "LoadApplicationAuthenticationTokenCache"}, +            {22, nullptr, "LoadApplicationNetworkServiceClientConfigCache"}, +            {23, nullptr, "IsApplicationAuthenticationCacheAvailable"}, +            {24, nullptr, "InvalidateApplicationAuthenticationCache"},          };          // clang-format on diff --git a/src/core/hle/service/acc/acc_su.cpp b/src/core/hle/service/acc/acc_su.cpp index 49b22583e..bb6118abf 100644 --- a/src/core/hle/service/acc/acc_su.cpp +++ b/src/core/hle/service/acc/acc_su.cpp @@ -17,28 +17,30 @@ ACC_SU::ACC_SU(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> p          {3, &ACC_SU::ListOpenUsers, "ListOpenUsers"},          {4, &ACC_SU::GetLastOpenedUser, "GetLastOpenedUser"},          {5, &ACC_SU::GetProfile, "GetProfile"}, -        {6, nullptr, "GetProfileDigest"}, // 3.0.0+ +        {6, nullptr, "GetProfileDigest"},          {50, &ACC_SU::IsUserRegistrationRequestPermitted, "IsUserRegistrationRequestPermitted"},          {51, &ACC_SU::TrySelectUserWithoutInteraction, "TrySelectUserWithoutInteraction"}, -        {60, &ACC_SU::ListOpenContextStoredUsers, "ListOpenContextStoredUsers"}, // 5.0.0 - 5.1.0 -        {99, nullptr, "DebugActivateOpenContextRetention"}, // 6.0.0+ +        {60, &ACC_SU::ListOpenContextStoredUsers, "ListOpenContextStoredUsers"}, +        {99, nullptr, "DebugActivateOpenContextRetention"},          {100, nullptr, "GetUserRegistrationNotifier"},          {101, nullptr, "GetUserStateChangeNotifier"},          {102, nullptr, "GetBaasAccountManagerForSystemService"},          {103, nullptr, "GetBaasUserAvailabilityChangeNotifier"},          {104, nullptr, "GetProfileUpdateNotifier"}, -        {105, nullptr, "CheckNetworkServiceAvailabilityAsync"}, // 4.0.0+ -        {106, nullptr, "GetProfileSyncNotifier"}, // 9.0.0+ +        {105, nullptr, "CheckNetworkServiceAvailabilityAsync"}, +        {106, nullptr, "GetProfileSyncNotifier"},          {110, &ACC_SU::StoreSaveDataThumbnailSystem, "StoreSaveDataThumbnail"},          {111, nullptr, "ClearSaveDataThumbnail"},          {112, nullptr, "LoadSaveDataThumbnail"}, -        {113, nullptr, "GetSaveDataThumbnailExistence"}, // 5.0.0+ -        {120, nullptr, "ListOpenUsersInApplication"}, // 10.0.0+ -        {130, nullptr, "ActivateOpenContextRetention"}, // 6.0.0+ -        {140, &ACC_SU::ListQualifiedUsers, "ListQualifiedUsers"}, // 6.0.0+ -        {150, nullptr, "AuthenticateApplicationAsync"}, // 10.0.0+ -        {190, nullptr, "GetUserLastOpenedApplication"}, // 1.0.0 - 9.2.0 -        {191, nullptr, "ActivateOpenContextHolder"}, // 7.0.0+ +        {113, nullptr, "GetSaveDataThumbnailExistence"}, +        {120, nullptr, "ListOpenUsersInApplication"}, +        {130, nullptr, "ActivateOpenContextRetention"}, +        {140, &ACC_SU::ListQualifiedUsers, "ListQualifiedUsers"}, +        {150, nullptr, "AuthenticateApplicationAsync"}, +        {151, nullptr, "Unknown151"}, +        {152, nullptr, "Unknown152"}, +        {190, nullptr, "GetUserLastOpenedApplication"}, +        {191, nullptr, "ActivateOpenContextHolder"},          {200, nullptr, "BeginUserRegistration"},          {201, nullptr, "CompleteUserRegistration"},          {202, nullptr, "CancelUserRegistration"}, @@ -46,15 +48,15 @@ ACC_SU::ACC_SU(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> p          {204, nullptr, "SetUserPosition"},          {205, &ACC_SU::GetProfileEditor, "GetProfileEditor"},          {206, nullptr, "CompleteUserRegistrationForcibly"}, -        {210, nullptr, "CreateFloatingRegistrationRequest"}, // 3.0.0+ -        {211, nullptr, "CreateProcedureToRegisterUserWithNintendoAccount"}, // 8.0.0+ -        {212, nullptr, "ResumeProcedureToRegisterUserWithNintendoAccount"}, // 8.0.0+ +        {210, nullptr, "CreateFloatingRegistrationRequest"}, +        {211, nullptr, "CreateProcedureToRegisterUserWithNintendoAccount"}, +        {212, nullptr, "ResumeProcedureToRegisterUserWithNintendoAccount"},          {230, nullptr, "AuthenticateServiceAsync"},          {250, nullptr, "GetBaasAccountAdministrator"},          {290, nullptr, "ProxyProcedureForGuestLoginWithNintendoAccount"}, -        {291, nullptr, "ProxyProcedureForFloatingRegistrationWithNintendoAccount"}, // 3.0.0+ +        {291, nullptr, "ProxyProcedureForFloatingRegistrationWithNintendoAccount"},          {299, nullptr, "SuspendBackgroundDaemon"}, -        {997, nullptr, "DebugInvalidateTokenCacheForUser"}, // 3.0.0+ +        {997, nullptr, "DebugInvalidateTokenCacheForUser"},          {998, nullptr, "DebugSetUserStateClose"},          {999, nullptr, "DebugSetUserStateOpen"},      }; diff --git a/src/core/hle/service/acc/acc_u1.cpp b/src/core/hle/service/acc/acc_u1.cpp index 951081cd0..71982ad5a 100644 --- a/src/core/hle/service/acc/acc_u1.cpp +++ b/src/core/hle/service/acc/acc_u1.cpp @@ -17,29 +17,31 @@ ACC_U1::ACC_U1(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> p          {3, &ACC_U1::ListOpenUsers, "ListOpenUsers"},          {4, &ACC_U1::GetLastOpenedUser, "GetLastOpenedUser"},          {5, &ACC_U1::GetProfile, "GetProfile"}, -        {6, nullptr, "GetProfileDigest"}, // 3.0.0+ +        {6, nullptr, "GetProfileDigest"},          {50, &ACC_U1::IsUserRegistrationRequestPermitted, "IsUserRegistrationRequestPermitted"},          {51, &ACC_U1::TrySelectUserWithoutInteraction, "TrySelectUserWithoutInteraction"}, -        {60, &ACC_U1::ListOpenContextStoredUsers, "ListOpenContextStoredUsers"}, // 5.0.0 - 5.1.0 -        {99, nullptr, "DebugActivateOpenContextRetention"}, // 6.0.0+ +        {60, &ACC_U1::ListOpenContextStoredUsers, "ListOpenContextStoredUsers"}, +        {99, nullptr, "DebugActivateOpenContextRetention"},          {100, nullptr, "GetUserRegistrationNotifier"},          {101, nullptr, "GetUserStateChangeNotifier"},          {102, nullptr, "GetBaasAccountManagerForSystemService"},          {103, nullptr, "GetBaasUserAvailabilityChangeNotifier"},          {104, nullptr, "GetProfileUpdateNotifier"}, -        {105, nullptr, "CheckNetworkServiceAvailabilityAsync"}, // 4.0.0+ -        {106, nullptr, "GetProfileSyncNotifier"}, // 9.0.0+ +        {105, nullptr, "CheckNetworkServiceAvailabilityAsync"}, +        {106, nullptr, "GetProfileSyncNotifier"},          {110, &ACC_U1::StoreSaveDataThumbnailApplication, "StoreSaveDataThumbnail"},          {111, nullptr, "ClearSaveDataThumbnail"},          {112, nullptr, "LoadSaveDataThumbnail"}, -        {113, nullptr, "GetSaveDataThumbnailExistence"}, // 5.0.0+ -        {120, nullptr, "ListOpenUsersInApplication"}, // 10.0.0+ -        {130, nullptr, "ActivateOpenContextRetention"}, // 6.0.0+ -        {140, &ACC_U1::ListQualifiedUsers, "ListQualifiedUsers"}, // 6.0.0+ -        {150, nullptr, "AuthenticateApplicationAsync"}, // 10.0.0+ -        {190, nullptr, "GetUserLastOpenedApplication"}, // 1.0.0 - 9.2.0 -        {191, nullptr, "ActivateOpenContextHolder"}, // 7.0.0+ -        {997, nullptr, "DebugInvalidateTokenCacheForUser"}, // 3.0.0+ +        {113, nullptr, "GetSaveDataThumbnailExistence"}, +        {120, nullptr, "ListOpenUsersInApplication"}, +        {130, nullptr, "ActivateOpenContextRetention"}, +        {140, &ACC_U1::ListQualifiedUsers, "ListQualifiedUsers"}, +        {150, nullptr, "AuthenticateApplicationAsync"}, +        {151, nullptr, "Unknown151"}, +        {152, nullptr, "Unknown152"}, +        {190, nullptr, "GetUserLastOpenedApplication"}, +        {191, nullptr, "ActivateOpenContextHolder"}, +        {997, nullptr, "DebugInvalidateTokenCacheForUser"},          {998, nullptr, "DebugSetUserStateClose"},          {999, nullptr, "DebugSetUserStateOpen"},      }; | 
