diff options
author | Fernando S <fsahmkow27@gmail.com> | 2021-11-04 16:25:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-04 16:25:32 +0100 |
commit | 35aa153d6c45b3c3538891dffec3be260db245e4 (patch) | |
tree | deea1ad4148e9189e6c53f310e26694a2669e0e8 /src/core/hle/service/acc | |
parent | Merge pull request #7278 from Morph1984/svc-num-handles (diff) | |
parent | service: acc: Stub acc:u0 '160' (diff) | |
download | yuzu-35aa153d6c45b3c3538891dffec3be260db245e4.tar yuzu-35aa153d6c45b3c3538891dffec3be260db245e4.tar.gz yuzu-35aa153d6c45b3c3538891dffec3be260db245e4.tar.bz2 yuzu-35aa153d6c45b3c3538891dffec3be260db245e4.tar.lz yuzu-35aa153d6c45b3c3538891dffec3be260db245e4.tar.xz yuzu-35aa153d6c45b3c3538891dffec3be260db245e4.tar.zst yuzu-35aa153d6c45b3c3538891dffec3be260db245e4.zip |
Diffstat (limited to 'src/core/hle/service/acc')
-rw-r--r-- | src/core/hle/service/acc/acc.cpp | 7 | ||||
-rw-r--r-- | src/core/hle/service/acc/acc.h | 1 | ||||
-rw-r--r-- | src/core/hle/service/acc/acc_u0.cpp | 1 |
3 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 689b36056..0b6097d95 100644 --- a/src/core/hle/service/acc/acc.cpp +++ b/src/core/hle/service/acc/acc.cpp @@ -826,6 +826,13 @@ void Module::Interface::IsUserAccountSwitchLocked(Kernel::HLERequestContext& ctx rb.Push(is_locked); } +void Module::Interface::Unknown160(Kernel::HLERequestContext& ctx) { + LOG_WARNING(Service_ACC, "(STUBBED) called"); + + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(ResultSuccess); +} + void Module::Interface::GetProfileEditor(Kernel::HLERequestContext& ctx) { IPC::RequestParser rp{ctx}; Common::UUID user_id = rp.PopRaw<Common::UUID>(); diff --git a/src/core/hle/service/acc/acc.h b/src/core/hle/service/acc/acc.h index a83a480cd..7e8fcf2af 100644 --- a/src/core/hle/service/acc/acc.h +++ b/src/core/hle/service/acc/acc.h @@ -33,6 +33,7 @@ public: void IsUserRegistrationRequestPermitted(Kernel::HLERequestContext& ctx); void TrySelectUserWithoutInteraction(Kernel::HLERequestContext& ctx); void IsUserAccountSwitchLocked(Kernel::HLERequestContext& ctx); + void Unknown160(Kernel::HLERequestContext& ctx); void GetProfileEditor(Kernel::HLERequestContext& ctx); void ListQualifiedUsers(Kernel::HLERequestContext& ctx); void LoadOpenContext(Kernel::HLERequestContext& ctx); diff --git a/src/core/hle/service/acc/acc_u0.cpp b/src/core/hle/service/acc/acc_u0.cpp index ed241647c..f7b19f595 100644 --- a/src/core/hle/service/acc/acc_u0.cpp +++ b/src/core/hle/service/acc/acc_u0.cpp @@ -34,6 +34,7 @@ ACC_U0::ACC_U0(std::shared_ptr<Module> module_, std::shared_ptr<ProfileManager> {140, &ACC_U0::InitializeApplicationInfoRestricted, "InitializeApplicationInfoRestricted"}, // 6.0.0+ {141, &ACC_U0::ListQualifiedUsers, "ListQualifiedUsers"}, // 6.0.0+ {150, &ACC_U0::IsUserAccountSwitchLocked, "IsUserAccountSwitchLocked"}, // 6.0.0+ + {160, &ACC_U0::Unknown160, "Unknown160"}, }; // clang-format on |