summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-10 05:50:13 +0200
committerGitHub <noreply@github.com>2021-04-10 05:50:13 +0200
commit9cf8bcc75c4fe29c514bc32315bcd79d5522b596 (patch)
tree98cf5606881f915ef80ca652d40d77dace50af91
parentMerge pull request #6158 from german77/hidServiceTables (diff)
parentFriend: Stub GetPlayHistoryRegistrationKey (diff)
downloadyuzu-9cf8bcc75c4fe29c514bc32315bcd79d5522b596.tar
yuzu-9cf8bcc75c4fe29c514bc32315bcd79d5522b596.tar.gz
yuzu-9cf8bcc75c4fe29c514bc32315bcd79d5522b596.tar.bz2
yuzu-9cf8bcc75c4fe29c514bc32315bcd79d5522b596.tar.lz
yuzu-9cf8bcc75c4fe29c514bc32315bcd79d5522b596.tar.xz
yuzu-9cf8bcc75c4fe29c514bc32315bcd79d5522b596.tar.zst
yuzu-9cf8bcc75c4fe29c514bc32315bcd79d5522b596.zip
-rw-r--r--src/core/hle/service/friend/friend.cpp14
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 0a6621ef2..a35979053 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>();