diff options
| author | 2021-04-09 20:50:13 -0700 | |
|---|---|---|
| committer | 2021-04-09 20:50:13 -0700 | |
| commit | 9cf8bcc75c4fe29c514bc32315bcd79d5522b596 (patch) | |
| tree | 98cf5606881f915ef80ca652d40d77dace50af91 | |
| parent | Merge pull request #6158 from german77/hidServiceTables (diff) | |
| parent | Friend: Stub GetPlayHistoryRegistrationKey (diff) | |
| download | yuzu-9cf8bcc75c4fe29c514bc32315bcd79d5522b596.tar.gz yuzu-9cf8bcc75c4fe29c514bc32315bcd79d5522b596.tar.xz yuzu-9cf8bcc75c4fe29c514bc32315bcd79d5522b596.zip | |
Merge pull request #6113 from german77/playhistory
Friend: Stub GetPlayHistoryRegistrationKey
| -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 0a6621ef2..a35979053 100644 --- a/src/core/hle/service/friend/friend.cpp +++ b/src/core/hle/service/friend/friend.cpp | |||
| @@ -38,7 +38,7 @@ public: | |||
| 38 | {10600, nullptr, "DeclareOpenOnlinePlaySession"}, | 38 | {10600, nullptr, "DeclareOpenOnlinePlaySession"}, |
| 39 | {10601, &IFriendService::DeclareCloseOnlinePlaySession, "DeclareCloseOnlinePlaySession"}, | 39 | {10601, &IFriendService::DeclareCloseOnlinePlaySession, "DeclareCloseOnlinePlaySession"}, |
| 40 | {10610, &IFriendService::UpdateUserPresence, "UpdateUserPresence"}, | 40 | {10610, &IFriendService::UpdateUserPresence, "UpdateUserPresence"}, |
| 41 | {10700, nullptr, "GetPlayHistoryRegistrationKey"}, | 41 | {10700, &IFriendService::GetPlayHistoryRegistrationKey, "GetPlayHistoryRegistrationKey"}, |
| 42 | {10701, nullptr, "GetPlayHistoryRegistrationKeyWithNetworkServiceAccountId"}, | 42 | {10701, nullptr, "GetPlayHistoryRegistrationKeyWithNetworkServiceAccountId"}, |
| 43 | {10702, nullptr, "AddPlayHistory"}, | 43 | {10702, nullptr, "AddPlayHistory"}, |
| 44 | {11000, nullptr, "GetProfileImageUrl"}, | 44 | {11000, nullptr, "GetProfileImageUrl"}, |
| @@ -153,6 +153,18 @@ private: | |||
| 153 | rb.Push(RESULT_SUCCESS); | 153 | rb.Push(RESULT_SUCCESS); |
| 154 | } | 154 | } |
| 155 | 155 | ||
| 156 | void GetPlayHistoryRegistrationKey(Kernel::HLERequestContext& ctx) { | ||
| 157 | IPC::RequestParser rp{ctx}; | ||
| 158 | const auto local_play = rp.Pop<bool>(); | ||
| 159 | const auto uuid = rp.PopRaw<Common::UUID>(); | ||
| 160 | |||
| 161 | LOG_WARNING(Service_Friend, "(STUBBED) called local_play={} uuid={}", local_play, | ||
| 162 | uuid.Format()); | ||
| 163 | |||
| 164 | IPC::ResponseBuilder rb{ctx, 2}; | ||
| 165 | rb.Push(RESULT_SUCCESS); | ||
| 166 | } | ||
| 167 | |||
| 156 | void GetFriendList(Kernel::HLERequestContext& ctx) { | 168 | void GetFriendList(Kernel::HLERequestContext& ctx) { |
| 157 | IPC::RequestParser rp{ctx}; | 169 | IPC::RequestParser rp{ctx}; |
| 158 | const auto friend_offset = rp.Pop<u32>(); | 170 | const auto friend_offset = rp.Pop<u32>(); |