summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2018-08-11 18:11:04 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2018-08-11 18:11:04 +0200
commit448290bee43b49d7502269b185938d6e8c1aca03 (patch)
tree832b11ec33b8641eafb86a693e3a1f4557c089ff /src/core/hle
parentAdded better explanations in the profile manager (diff)
downloadyuzu-448290bee43b49d7502269b185938d6e8c1aca03.tar
yuzu-448290bee43b49d7502269b185938d6e8c1aca03.tar.gz
yuzu-448290bee43b49d7502269b185938d6e8c1aca03.tar.bz2
yuzu-448290bee43b49d7502269b185938d6e8c1aca03.tar.lz
yuzu-448290bee43b49d7502269b185938d6e8c1aca03.tar.xz
yuzu-448290bee43b49d7502269b185938d6e8c1aca03.tar.zst
yuzu-448290bee43b49d7502269b185938d6e8c1aca03.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/acc/acc.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/hle/service/acc/acc.cpp b/src/core/hle/service/acc/acc.cpp
index b94dda9ea..979f2f892 100644
--- a/src/core/hle/service/acc/acc.cpp
+++ b/src/core/hle/service/acc/acc.cpp
@@ -153,17 +153,15 @@ void Module::Interface::GetUserExistence(Kernel::HLERequestContext& ctx) {
void Module::Interface::ListAllUsers(Kernel::HLERequestContext& ctx) {
LOG_INFO(Service_ACC, "called");
ctx.WriteBuffer(profile_manager->GetAllUsers());
- IPC::ResponseBuilder rb{ctx, 3};
+ IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);
- rb.Push<u32>(static_cast<u32>(profile_manager->GetUserCount()));
}
void Module::Interface::ListOpenUsers(Kernel::HLERequestContext& ctx) {
LOG_INFO(Service_ACC, "called");
ctx.WriteBuffer(profile_manager->GetOpenUsers());
- IPC::ResponseBuilder rb{ctx, 3};
+ IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);
- rb.Push<u32>(static_cast<u32>(profile_manager->GetOpenUserCount()));
}
void Module::Interface::GetLastOpenedUser(Kernel::HLERequestContext& ctx) {