diff options
| author | David Marcec <dmarcecguzman@gmail.com> | 2020-04-29 00:37:47 +1000 |
|---|---|---|
| committer | David Marcec <dmarcecguzman@gmail.com> | 2020-04-29 00:37:47 +1000 |
| commit | a17813c4f4361894fa17a206250bb858a04e2b6b (patch) | |
| tree | 9e3f8d22e9635beab8f0bc38d31e2fe9373a1c55 /src/core/hle/service/acc/acc.cpp | |
| parent | 4dca2298f9563be8553a327d815a1d9565f92505 (diff) | |
account: ListQualifiedUsers
Closes #2844
Diffstat (limited to 'src/core/hle/service/acc/acc.cpp')
| -rw-r--r-- | src/core/hle/service/acc/acc.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/hle/service/acc/acc.cpp b/src/core/hle/service/acc/acc.cpp index cfac8ca9a..9b5f4eb91 100644 --- a/src/core/hle/service/acc/acc.cpp +++ b/src/core/hle/service/acc/acc.cpp @@ -428,6 +428,15 @@ void Module::Interface::GetProfileEditor(Kernel::HLERequestContext& ctx) { rb.PushIpcInterface<IProfileEditor>(user_id, *profile_manager); } +void Module::Interface::ListQualifiedUsers(Kernel::HLERequestContext& ctx) { + LOG_DEBUG(Service_ACC, "called"); + + // All users should be qualified + ctx.WriteBuffer(profile_manager->GetAllUsers()); + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(RESULT_SUCCESS); +} + void Module::Interface::TrySelectUserWithoutInteraction(Kernel::HLERequestContext& ctx) { LOG_DEBUG(Service_ACC, "called"); // A u8 is passed into this function which we can safely ignore. It's to determine if we have |
