diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-12 03:34:14 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-08-12 03:34:14 +0200 |
commit | 249341d08fa0548588a1268e6f00c3d2fc8e39ef (patch) | |
tree | 4e146052e73c38b2e59038921f26cc161828a19d /src/core/hle/service/friend/friend.cpp | |
parent | friend: Fix CreateFriendService to return an IFriendService interface. (diff) | |
download | yuzu-249341d08fa0548588a1268e6f00c3d2fc8e39ef.tar yuzu-249341d08fa0548588a1268e6f00c3d2fc8e39ef.tar.gz yuzu-249341d08fa0548588a1268e6f00c3d2fc8e39ef.tar.bz2 yuzu-249341d08fa0548588a1268e6f00c3d2fc8e39ef.tar.lz yuzu-249341d08fa0548588a1268e6f00c3d2fc8e39ef.tar.xz yuzu-249341d08fa0548588a1268e6f00c3d2fc8e39ef.tar.zst yuzu-249341d08fa0548588a1268e6f00c3d2fc8e39ef.zip |
Diffstat (limited to 'src/core/hle/service/friend/friend.cpp')
-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: {10400, nullptr, "GetBlockedUserListIds"}, {10500, nullptr, "GetProfileList"}, {10600, nullptr, "DeclareOpenOnlinePlaySession"}, - {10601, nullptr, "DeclareCloseOnlinePlaySession"}, + {10601, &IFriendService::DeclareCloseOnlinePlaySession, + "DeclareCloseOnlinePlaySession"}, {10610, nullptr, "UpdateUserPresence"}, {10700, nullptr, "GetPlayHistoryRegistrationKey"}, {10701, nullptr, "GetPlayHistoryRegistrationKeyWithNetworkServiceAccountId"}, @@ -90,6 +91,14 @@ public: RegisterHandlers(functions); } + +private: + void DeclareCloseOnlinePlaySession(Kernel::HLERequestContext& ctx) { + // Stub used by Splatoon 2 + LOG_WARNING(Service_ACC, "(STUBBED) called"); + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(RESULT_SUCCESS); + } }; void Module::Interface::CreateFriendService(Kernel::HLERequestContext& ctx) { |