summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2018-08-11 12:06:06 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2018-08-11 12:06:06 +0200
commitc3013c7c9c4498ea0fc0d50dfe674fdff4c0e1c3 (patch)
tree70e3502e29d378285671005332703b3ff41d70e3 /src/core/hle
parentIf statement style change (diff)
downloadyuzu-c3013c7c9c4498ea0fc0d50dfe674fdff4c0e1c3.tar
yuzu-c3013c7c9c4498ea0fc0d50dfe674fdff4c0e1c3.tar.gz
yuzu-c3013c7c9c4498ea0fc0d50dfe674fdff4c0e1c3.tar.bz2
yuzu-c3013c7c9c4498ea0fc0d50dfe674fdff4c0e1c3.tar.lz
yuzu-c3013c7c9c4498ea0fc0d50dfe674fdff4c0e1c3.tar.xz
yuzu-c3013c7c9c4498ea0fc0d50dfe674fdff4c0e1c3.tar.zst
yuzu-c3013c7c9c4498ea0fc0d50dfe674fdff4c0e1c3.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/acc/acc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/acc/acc.cpp b/src/core/hle/service/acc/acc.cpp
index 9a7c3b9f4..9a377e86d 100644
--- a/src/core/hle/service/acc/acc.cpp
+++ b/src/core/hle/service/acc/acc.cpp
@@ -150,8 +150,9 @@ 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, 2};
+ IPC::ResponseBuilder rb{ctx, 3};
rb.Push(RESULT_SUCCESS);
+ rb.Push<u32>(static_cast<u32>(profile_manager->GetUserCount()));
}
void Module::Interface::ListOpenUsers(Kernel::HLERequestContext& ctx) {