diff options
| author | 2021-11-04 02:57:13 -0400 | |
|---|---|---|
| committer | 2021-11-04 02:57:13 -0400 | |
| commit | f2988ecabcbab4bffd416f76f03806c874d32d1c (patch) | |
| tree | deea1ad4148e9189e6c53f310e26694a2669e0e8 | |
| parent | Merge pull request #7278 from Morph1984/svc-num-handles (diff) | |
| download | yuzu-f2988ecabcbab4bffd416f76f03806c874d32d1c.tar.gz yuzu-f2988ecabcbab4bffd416f76f03806c874d32d1c.tar.xz yuzu-f2988ecabcbab4bffd416f76f03806c874d32d1c.zip | |
service: acc: Stub acc:u0 '160'
- Used by Animal Crossing: New Horizons v2.0.0
Since the name is currently unknown, '160' is used as a placeholder.
| -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 | |||
| 826 | rb.Push(is_locked); | 826 | rb.Push(is_locked); |
| 827 | } | 827 | } |
| 828 | 828 | ||
| 829 | void Module::Interface::Unknown160(Kernel::HLERequestContext& ctx) { | ||
| 830 | LOG_WARNING(Service_ACC, "(STUBBED) called"); | ||
| 831 | |||
| 832 | IPC::ResponseBuilder rb{ctx, 2}; | ||
| 833 | rb.Push(ResultSuccess); | ||
| 834 | } | ||
| 835 | |||
| 829 | void Module::Interface::GetProfileEditor(Kernel::HLERequestContext& ctx) { | 836 | void Module::Interface::GetProfileEditor(Kernel::HLERequestContext& ctx) { |
| 830 | IPC::RequestParser rp{ctx}; | 837 | IPC::RequestParser rp{ctx}; |
| 831 | Common::UUID user_id = rp.PopRaw<Common::UUID>(); | 838 | 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: | |||
| 33 | void IsUserRegistrationRequestPermitted(Kernel::HLERequestContext& ctx); | 33 | void IsUserRegistrationRequestPermitted(Kernel::HLERequestContext& ctx); |
| 34 | void TrySelectUserWithoutInteraction(Kernel::HLERequestContext& ctx); | 34 | void TrySelectUserWithoutInteraction(Kernel::HLERequestContext& ctx); |
| 35 | void IsUserAccountSwitchLocked(Kernel::HLERequestContext& ctx); | 35 | void IsUserAccountSwitchLocked(Kernel::HLERequestContext& ctx); |
| 36 | void Unknown160(Kernel::HLERequestContext& ctx); | ||
| 36 | void GetProfileEditor(Kernel::HLERequestContext& ctx); | 37 | void GetProfileEditor(Kernel::HLERequestContext& ctx); |
| 37 | void ListQualifiedUsers(Kernel::HLERequestContext& ctx); | 38 | void ListQualifiedUsers(Kernel::HLERequestContext& ctx); |
| 38 | void LoadOpenContext(Kernel::HLERequestContext& ctx); | 39 | 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> | |||
| 34 | {140, &ACC_U0::InitializeApplicationInfoRestricted, "InitializeApplicationInfoRestricted"}, // 6.0.0+ | 34 | {140, &ACC_U0::InitializeApplicationInfoRestricted, "InitializeApplicationInfoRestricted"}, // 6.0.0+ |
| 35 | {141, &ACC_U0::ListQualifiedUsers, "ListQualifiedUsers"}, // 6.0.0+ | 35 | {141, &ACC_U0::ListQualifiedUsers, "ListQualifiedUsers"}, // 6.0.0+ |
| 36 | {150, &ACC_U0::IsUserAccountSwitchLocked, "IsUserAccountSwitchLocked"}, // 6.0.0+ | 36 | {150, &ACC_U0::IsUserAccountSwitchLocked, "IsUserAccountSwitchLocked"}, // 6.0.0+ |
| 37 | {160, &ACC_U0::Unknown160, "Unknown160"}, | ||
| 37 | }; | 38 | }; |
| 38 | // clang-format on | 39 | // clang-format on |
| 39 | 40 | ||