aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/acc/acc_su.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-20 10:59:15 -0400
committerGitHub <noreply@github.com>2018-08-20 10:59:15 -0400
commit943771e703c7493b2c807fa86b6208a5bd903913 (patch)
tree13aea6a3c32686a1d465d30735e31b7293262684 /src/core/hle/service/acc/acc_su.cpp
parentce4b77bd7d2b4f9403fb14b9bd1d4200fd9fa4c7 (diff)
parent10f494eefead7b2da17d8095abdfaad9ff9290fb (diff)
Merge pull request #1017 from ogniK5377/better-account
New account backend to allow for future extended support
Diffstat (limited to 'src/core/hle/service/acc/acc_su.cpp')
-rw-r--r--src/core/hle/service/acc/acc_su.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/acc/acc_su.cpp b/src/core/hle/service/acc/acc_su.cpp
index 8b2a71f37..0218ee859 100644
--- a/src/core/hle/service/acc/acc_su.cpp
+++ b/src/core/hle/service/acc/acc_su.cpp
@@ -6,7 +6,8 @@
namespace Service::Account {
-ACC_SU::ACC_SU(std::shared_ptr<Module> module) : Module::Interface(std::move(module), "acc:su") {
+ACC_SU::ACC_SU(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> profile_manager)
+ : Module::Interface(std::move(module), std::move(profile_manager), "acc:su") {
static const FunctionInfo functions[] = {
{0, &ACC_SU::GetUserCount, "GetUserCount"},
{1, &ACC_SU::GetUserExistence, "GetUserExistence"},
@@ -15,7 +16,7 @@ ACC_SU::ACC_SU(std::shared_ptr<Module> module) : Module::Interface(std::move(mod
{4, &ACC_SU::GetLastOpenedUser, "GetLastOpenedUser"},
{5, &ACC_SU::GetProfile, "GetProfile"},
{6, nullptr, "GetProfileDigest"},
- {50, nullptr, "IsUserRegistrationRequestPermitted"},
+ {50, &ACC_SU::IsUserRegistrationRequestPermitted, "IsUserRegistrationRequestPermitted"},
{51, nullptr, "TrySelectUserWithoutInteraction"},
{60, nullptr, "ListOpenContextStoredUsers"},
{100, nullptr, "GetUserRegistrationNotifier"},