diff options
| -rw-r--r-- | src/core/hle/service/friend/friend.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/core/hle/service/friend/friend.cpp b/src/core/hle/service/friend/friend.cpp index 729dc883b..2b642c32f 100644 --- a/src/core/hle/service/friend/friend.cpp +++ b/src/core/hle/service/friend/friend.cpp | |||
| @@ -24,7 +24,8 @@ public: | |||
| 24 | {10400, nullptr, "GetBlockedUserListIds"}, | 24 | {10400, nullptr, "GetBlockedUserListIds"}, |
| 25 | {10500, nullptr, "GetProfileList"}, | 25 | {10500, nullptr, "GetProfileList"}, |
| 26 | {10600, nullptr, "DeclareOpenOnlinePlaySession"}, | 26 | {10600, nullptr, "DeclareOpenOnlinePlaySession"}, |
| 27 | {10601, nullptr, "DeclareCloseOnlinePlaySession"}, | 27 | {10601, &IFriendService::DeclareCloseOnlinePlaySession, |
| 28 | "DeclareCloseOnlinePlaySession"}, | ||
| 28 | {10610, nullptr, "UpdateUserPresence"}, | 29 | {10610, nullptr, "UpdateUserPresence"}, |
| 29 | {10700, nullptr, "GetPlayHistoryRegistrationKey"}, | 30 | {10700, nullptr, "GetPlayHistoryRegistrationKey"}, |
| 30 | {10701, nullptr, "GetPlayHistoryRegistrationKeyWithNetworkServiceAccountId"}, | 31 | {10701, nullptr, "GetPlayHistoryRegistrationKeyWithNetworkServiceAccountId"}, |
| @@ -90,6 +91,14 @@ public: | |||
| 90 | 91 | ||
| 91 | RegisterHandlers(functions); | 92 | RegisterHandlers(functions); |
| 92 | } | 93 | } |
| 94 | |||
| 95 | private: | ||
| 96 | void DeclareCloseOnlinePlaySession(Kernel::HLERequestContext& ctx) { | ||
| 97 | // Stub used by Splatoon 2 | ||
| 98 | LOG_WARNING(Service_ACC, "(STUBBED) called"); | ||
| 99 | IPC::ResponseBuilder rb{ctx, 2}; | ||
| 100 | rb.Push(RESULT_SUCCESS); | ||
| 101 | } | ||
| 93 | }; | 102 | }; |
| 94 | 103 | ||
| 95 | void Module::Interface::CreateFriendService(Kernel::HLERequestContext& ctx) { | 104 | void Module::Interface::CreateFriendService(Kernel::HLERequestContext& ctx) { |