VERY experimental Nintendo Switch 2 emulator
C++
service/acc: Rename Unknown160 to InitializeApplicationInfoV2
german77c3e27a75b11a
diff --git a/src/core/hle/service/acc/acc.cpp b/src/core/hle/service/acc/acc.cppindex 0b6097d95f..e1d01e5b40 100644--- a/src/core/hle/service/acc/acc.cpp+++ b/src/core/hle/service/acc/acc.cpp@@ -826,7 +826,7 @@ void Module::Interface::IsUserAccountSwitchLocked(Kernel::HLERequestContext& ctxrb.Push(is_locked);}-void Module::Interface::Unknown160(Kernel::HLERequestContext& ctx) {+void Module::Interface::InitializeApplicationInfoV2(Kernel::HLERequestContext& ctx) {LOG_WARNING(Service_ACC, "(STUBBED) called");IPC::ResponseBuilder rb{ctx, 2};diff --git a/src/core/hle/service/acc/acc.h b/src/core/hle/service/acc/acc.hindex 7e8fcf2af9..f7e9bc4f8c 100644--- a/src/core/hle/service/acc/acc.h+++ b/src/core/hle/service/acc/acc.h@@ -33,7 +33,7 @@ public:void IsUserRegistrationRequestPermitted(Kernel::HLERequestContext& ctx);void TrySelectUserWithoutInteraction(Kernel::HLERequestContext& ctx);void IsUserAccountSwitchLocked(Kernel::HLERequestContext& ctx);- void Unknown160(Kernel::HLERequestContext& ctx);+ void InitializeApplicationInfoV2(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.cppindex f7b19f595e..df77c58f05 100644--- a/src/core/hle/service/acc/acc_u0.cpp+++ b/src/core/hle/service/acc/acc_u0.cpp@@ -34,7 +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"},+ {160, &ACC_U0::InitializeApplicationInfoV2, "InitializeApplicationInfoV2"},};// clang-format on