summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/acc/acc.cpp
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2018-08-11 02:33:11 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2018-08-11 02:33:11 +0200
commit2a3b335b156552515e28f62df2617d06c241a29a (patch)
tree6b77c702ee96370477c83f10ad341f24175a7bf1 /src/core/hle/service/acc/acc.cpp
parentDon't add user if the uuid already exists (diff)
downloadyuzu-2a3b335b156552515e28f62df2617d06c241a29a.tar
yuzu-2a3b335b156552515e28f62df2617d06c241a29a.tar.gz
yuzu-2a3b335b156552515e28f62df2617d06c241a29a.tar.bz2
yuzu-2a3b335b156552515e28f62df2617d06c241a29a.tar.lz
yuzu-2a3b335b156552515e28f62df2617d06c241a29a.tar.xz
yuzu-2a3b335b156552515e28f62df2617d06c241a29a.tar.zst
yuzu-2a3b335b156552515e28f62df2617d06c241a29a.zip
Diffstat (limited to 'src/core/hle/service/acc/acc.cpp')
-rw-r--r--src/core/hle/service/acc/acc.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/service/acc/acc.cpp b/src/core/hle/service/acc/acc.cpp
index 7c62d99f6..0a6cac5b7 100644
--- a/src/core/hle/service/acc/acc.cpp
+++ b/src/core/hle/service/acc/acc.cpp
@@ -156,6 +156,13 @@ void Module::Interface::GetProfile(Kernel::HLERequestContext& ctx) {
LOG_DEBUG(Service_ACC, "called user_id={}", user_id.Format());
}
+void Module::Interface::IsUserRegistrationRequestPermitted(Kernel::HLERequestContext& ctx) {
+ LOG_WARNING(Service_ACC, "(STUBBED) called");
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(RESULT_SUCCESS);
+ rb.Push(profile_manager->CanSystemRegisterUser());
+}
+
void Module::Interface::InitializeApplicationInfo(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_ACC, "(STUBBED) called");
IPC::ResponseBuilder rb{ctx, 2};