diff options
author | german77 <juangerman-13@hotmail.com> | 2021-03-27 05:13:51 +0100 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2021-03-27 14:25:36 +0100 |
commit | b2fb5c60e1f7c1bc10f01b4d72f2821878192a0f (patch) | |
tree | c4dfcf020cee5ad96636da83df447cd74d4429ba /src/core/hle/service | |
parent | Merge pull request #6101 from ogniK5377/alloc-as-ex (diff) | |
download | yuzu-b2fb5c60e1f7c1bc10f01b4d72f2821878192a0f.tar yuzu-b2fb5c60e1f7c1bc10f01b4d72f2821878192a0f.tar.gz yuzu-b2fb5c60e1f7c1bc10f01b4d72f2821878192a0f.tar.bz2 yuzu-b2fb5c60e1f7c1bc10f01b4d72f2821878192a0f.tar.lz yuzu-b2fb5c60e1f7c1bc10f01b4d72f2821878192a0f.tar.xz yuzu-b2fb5c60e1f7c1bc10f01b4d72f2821878192a0f.tar.zst yuzu-b2fb5c60e1f7c1bc10f01b4d72f2821878192a0f.zip |
Diffstat (limited to 'src/core/hle/service')
-rw-r--r-- | src/core/hle/service/friend/friend.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/core/hle/service/friend/friend.cpp b/src/core/hle/service/friend/friend.cpp index 72a877d68..5a9c6d008 100644 --- a/src/core/hle/service/friend/friend.cpp +++ b/src/core/hle/service/friend/friend.cpp @@ -38,7 +38,7 @@ public: {10600, nullptr, "DeclareOpenOnlinePlaySession"}, {10601, &IFriendService::DeclareCloseOnlinePlaySession, "DeclareCloseOnlinePlaySession"}, {10610, &IFriendService::UpdateUserPresence, "UpdateUserPresence"}, - {10700, nullptr, "GetPlayHistoryRegistrationKey"}, + {10700, &IFriendService::GetPlayHistoryRegistrationKey, "GetPlayHistoryRegistrationKey"}, {10701, nullptr, "GetPlayHistoryRegistrationKeyWithNetworkServiceAccountId"}, {10702, nullptr, "AddPlayHistory"}, {11000, nullptr, "GetProfileImageUrl"}, @@ -153,6 +153,18 @@ private: rb.Push(RESULT_SUCCESS); } + void GetPlayHistoryRegistrationKey(Kernel::HLERequestContext& ctx) { + IPC::RequestParser rp{ctx}; + const auto local_play = rp.Pop<bool>(); + const auto uuid = rp.PopRaw<Common::UUID>(); + + LOG_WARNING(Service_Friend, "(STUBBED) called local_play={} uuid={}", local_play, + uuid.Format()); + + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(RESULT_SUCCESS); + } + void GetFriendList(Kernel::HLERequestContext& ctx) { IPC::RequestParser rp{ctx}; const auto friend_offset = rp.Pop<u32>(); |