summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-02-04 22:32:01 +0100
committerbunnei <bunneidev@gmail.com>2018-02-04 22:32:01 +0100
commit6674e8e0480b49c36a963eb8028ff5796773fd2a (patch)
tree990864dcba5ee4d27017d09eccbd93db9cd392df /src/core/hle
parentMerge pull request #160 from bunnei/svc-improvements (diff)
downloadyuzu-6674e8e0480b49c36a963eb8028ff5796773fd2a.tar
yuzu-6674e8e0480b49c36a963eb8028ff5796773fd2a.tar.gz
yuzu-6674e8e0480b49c36a963eb8028ff5796773fd2a.tar.bz2
yuzu-6674e8e0480b49c36a963eb8028ff5796773fd2a.tar.lz
yuzu-6674e8e0480b49c36a963eb8028ff5796773fd2a.tar.xz
yuzu-6674e8e0480b49c36a963eb8028ff5796773fd2a.tar.zst
yuzu-6674e8e0480b49c36a963eb8028ff5796773fd2a.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/acc/acc_u0.cpp9
-rw-r--r--src/core/hle/service/acc/acc_u0.h1
2 files changed, 10 insertions, 0 deletions
diff --git a/src/core/hle/service/acc/acc_u0.cpp b/src/core/hle/service/acc/acc_u0.cpp
index 63b60c927..8110606aa 100644
--- a/src/core/hle/service/acc/acc_u0.cpp
+++ b/src/core/hle/service/acc/acc_u0.cpp
@@ -81,9 +81,18 @@ void ACC_U0::GetBaasAccountManagerForApplication(Kernel::HLERequestContext& ctx)
LOG_DEBUG(Service, "called");
}
+void ACC_U0::GetLastOpenedUser(Kernel::HLERequestContext& ctx) {
+ LOG_WARNING(Service, "(STUBBED) called");
+ IPC::ResponseBuilder rb{ctx, 6};
+ rb.Push(RESULT_SUCCESS);
+ rb.Push<u64>(0x0);
+ rb.Push<u64>(0x0);
+}
+
ACC_U0::ACC_U0() : ServiceFramework("acc:u0") {
static const FunctionInfo functions[] = {
{1, &ACC_U0::GetUserExistence, "GetUserExistence"},
+ {4, &ACC_U0::GetLastOpenedUser, "GetLastOpenedUser"},
{5, &ACC_U0::GetProfile, "GetProfile"},
{100, &ACC_U0::InitializeApplicationInfo, "InitializeApplicationInfo"},
{101, &ACC_U0::GetBaasAccountManagerForApplication, "GetBaasAccountManagerForApplication"},
diff --git a/src/core/hle/service/acc/acc_u0.h b/src/core/hle/service/acc/acc_u0.h
index 51676e859..b38c2f95e 100644
--- a/src/core/hle/service/acc/acc_u0.h
+++ b/src/core/hle/service/acc/acc_u0.h
@@ -28,6 +28,7 @@ public:
private:
void GetUserExistence(Kernel::HLERequestContext& ctx);
+ void GetLastOpenedUser(Kernel::HLERequestContext& ctx);
void GetProfile(Kernel::HLERequestContext& ctx);
void InitializeApplicationInfo(Kernel::HLERequestContext& ctx);
void GetBaasAccountManagerForApplication(Kernel::HLERequestContext& ctx);