diff options
| author | 2018-08-11 21:34:14 -0400 | |
|---|---|---|
| committer | 2018-08-11 21:34:14 -0400 | |
| commit | 249341d08fa0548588a1268e6f00c3d2fc8e39ef (patch) | |
| tree | 4e146052e73c38b2e59038921f26cc161828a19d | |
| parent | friend: Fix CreateFriendService to return an IFriendService interface. (diff) | |
| download | yuzu-249341d08fa0548588a1268e6f00c3d2fc8e39ef.tar.gz yuzu-249341d08fa0548588a1268e6f00c3d2fc8e39ef.tar.xz yuzu-249341d08fa0548588a1268e6f00c3d2fc8e39ef.zip | |
friend: Stub DeclareCloseOnlinePlaySession.
- Used by Splatoon 2.
Diffstat (limited to '')
| -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) { |