Removed un-needed count from ListOpenUsers and ListAllUsers
This commit is contained in:
parent
2592e41301
commit
448290bee4
1 changed files with 2 additions and 4 deletions
|
@ -153,17 +153,15 @@ 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, 3};
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
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) {
|
||||||
LOG_INFO(Service_ACC, "called");
|
LOG_INFO(Service_ACC, "called");
|
||||||
ctx.WriteBuffer(profile_manager->GetOpenUsers());
|
ctx.WriteBuffer(profile_manager->GetOpenUsers());
|
||||||
IPC::ResponseBuilder rb{ctx, 3};
|
IPC::ResponseBuilder rb{ctx, 2};
|
||||||
rb.Push(RESULT_SUCCESS);
|
rb.Push(RESULT_SUCCESS);
|
||||||
rb.Push<u32>(static_cast<u32>(profile_manager->GetOpenUserCount()));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Module::Interface::GetLastOpenedUser(Kernel::HLERequestContext& ctx) {
|
void Module::Interface::GetLastOpenedUser(Kernel::HLERequestContext& ctx) {
|
||||||
|
|
Loading…
Reference in a new issue