summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/acc/acc.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-09-24 20:21:25 +0200
committerGitHub <noreply@github.com>2020-09-24 20:21:25 +0200
commitfa4294cc6f293548bbe167a67dec388d27fd5e25 (patch)
treed04da8602c6786bb1a4b021f4cb02017315c1f5e /src/core/hle/service/acc/acc.cpp
parentMerge pull request #4674 from ReinUsesLisp/timeline-semaphores (diff)
parentacc: Stub LoadOpenContext (diff)
downloadyuzu-fa4294cc6f293548bbe167a67dec388d27fd5e25.tar
yuzu-fa4294cc6f293548bbe167a67dec388d27fd5e25.tar.gz
yuzu-fa4294cc6f293548bbe167a67dec388d27fd5e25.tar.bz2
yuzu-fa4294cc6f293548bbe167a67dec388d27fd5e25.tar.lz
yuzu-fa4294cc6f293548bbe167a67dec388d27fd5e25.tar.xz
yuzu-fa4294cc6f293548bbe167a67dec388d27fd5e25.tar.zst
yuzu-fa4294cc6f293548bbe167a67dec388d27fd5e25.zip
Diffstat (limited to 'src/core/hle/service/acc/acc.cpp')
-rw-r--r--src/core/hle/service/acc/acc.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/hle/service/acc/acc.cpp b/src/core/hle/service/acc/acc.cpp
index eb54cb123..6b1613510 100644
--- a/src/core/hle/service/acc/acc.cpp
+++ b/src/core/hle/service/acc/acc.cpp
@@ -774,6 +774,17 @@ void Module::Interface::ListQualifiedUsers(Kernel::HLERequestContext& ctx) {
rb.Push(RESULT_SUCCESS);
}
+void Module::Interface::LoadOpenContext(Kernel::HLERequestContext& ctx) {
+ LOG_WARNING(Service_ACC, "(STUBBED) called");
+
+ // This is similar to GetBaasAccountManagerForApplication
+ // This command is used concurrently with ListOpenContextStoredUsers
+ // TODO: Find the differences between this and GetBaasAccountManagerForApplication
+ IPC::ResponseBuilder rb{ctx, 2, 0, 1};
+ rb.Push(RESULT_SUCCESS);
+ rb.PushIpcInterface<IManagerForApplication>(profile_manager->GetLastOpenedUser());
+}
+
void Module::Interface::ListOpenContextStoredUsers(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_ACC, "(STUBBED) called");