diff options
author | bunnei <bunneidev@gmail.com> | 2020-05-02 04:05:37 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-02 04:05:37 +0200 |
commit | 224cf3075ce68b85cf5b20c8e58b9d9922fb4e04 (patch) | |
tree | 920d8587063ecc08ee51b1ba6dade18bc5c6af02 /src/core/hle/service/acc/acc.cpp | |
parent | Merge pull request #3857 from ogniK5377/GetGpuTime-StackCorruption (diff) | |
parent | Updated comment to reflect ListQualifiedUsers better (diff) | |
download | yuzu-224cf3075ce68b85cf5b20c8e58b9d9922fb4e04.tar yuzu-224cf3075ce68b85cf5b20c8e58b9d9922fb4e04.tar.gz yuzu-224cf3075ce68b85cf5b20c8e58b9d9922fb4e04.tar.bz2 yuzu-224cf3075ce68b85cf5b20c8e58b9d9922fb4e04.tar.lz yuzu-224cf3075ce68b85cf5b20c8e58b9d9922fb4e04.tar.xz yuzu-224cf3075ce68b85cf5b20c8e58b9d9922fb4e04.tar.zst yuzu-224cf3075ce68b85cf5b20c8e58b9d9922fb4e04.zip |
Diffstat (limited to 'src/core/hle/service/acc/acc.cpp')
-rw-r--r-- | src/core/hle/service/acc/acc.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/hle/service/acc/acc.cpp b/src/core/hle/service/acc/acc.cpp index cfac8ca9a..4f4e1f083 100644 --- a/src/core/hle/service/acc/acc.cpp +++ b/src/core/hle/service/acc/acc.cpp @@ -428,6 +428,17 @@ 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. We don't actually have parental control or anything to do with + // nintendo online currently. We're just going to assume the user running the game has access to + // the game regardless of parental control settings. + 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 |