mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-28 22:36:26 -05:00
Added missing ListAllUsers count
This commit is contained in:
parent
acff922762
commit
c3013c7c9c
1 changed files with 2 additions and 1 deletions
|
@ -150,8 +150,9 @@ void Module::Interface::GetUserExistence(Kernel::HLERequestContext& ctx) {
|
||||||
void Module::Interface::ListAllUsers(Kernel::HLERequestContext& ctx) {
|
void Module::Interface::ListAllUsers(Kernel::HLERequestContext& ctx) {
|
||||||
LOG_INFO(Service_ACC, "called");
|
LOG_INFO(Service_ACC, "called");
|
||||||
ctx.WriteBuffer(profile_manager->GetAllUsers());
|
ctx.WriteBuffer(profile_manager->GetAllUsers());
|
||||||
IPC::ResponseBuilder rb{ctx, 2};
|
IPC::ResponseBuilder rb{ctx, 3};
|
||||||
rb.Push(RESULT_SUCCESS);
|
rb.Push(RESULT_SUCCESS);
|
||||||
|
rb.Push<u32>(static_cast<u32>(profile_manager->GetUserCount()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void Module::Interface::ListOpenUsers(Kernel::HLERequestContext& ctx) {
|
void Module::Interface::ListOpenUsers(Kernel::HLERequestContext& ctx) {
|
||||||
|
|
Loading…
Reference in a new issue