diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-11-21 15:19:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-21 15:19:41 +0100 |
commit | cddb28cf26cfded4f1e4a4933f8d0b11ae812e1a (patch) | |
tree | 38513919c5b1d07c07eb6f8243ae83c8ec5f40e5 /src/core/hle/service | |
parent | Merge pull request #12100 from t895/android-translations (diff) | |
parent | Stub CheckBlockedUserListAvailability (diff) | |
download | yuzu-cddb28cf26cfded4f1e4a4933f8d0b11ae812e1a.tar yuzu-cddb28cf26cfded4f1e4a4933f8d0b11ae812e1a.tar.gz yuzu-cddb28cf26cfded4f1e4a4933f8d0b11ae812e1a.tar.bz2 yuzu-cddb28cf26cfded4f1e4a4933f8d0b11ae812e1a.tar.lz yuzu-cddb28cf26cfded4f1e4a4933f8d0b11ae812e1a.tar.xz yuzu-cddb28cf26cfded4f1e4a4933f8d0b11ae812e1a.tar.zst yuzu-cddb28cf26cfded4f1e4a4933f8d0b11ae812e1a.zip |
Diffstat (limited to 'src/core/hle/service')
-rw-r--r-- | src/core/hle/service/friend/friend.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/core/hle/service/friend/friend.cpp b/src/core/hle/service/friend/friend.cpp index 9d05f9801..0507b14e7 100644 --- a/src/core/hle/service/friend/friend.cpp +++ b/src/core/hle/service/friend/friend.cpp @@ -32,7 +32,7 @@ public: {10200, nullptr, "SendFriendRequestForApplication"}, {10211, nullptr, "AddFacedFriendRequestForApplication"}, {10400, &IFriendService::GetBlockedUserListIds, "GetBlockedUserListIds"}, - {10420, nullptr, "IsBlockedUserListCacheAvailable"}, + {10420, &IFriendService::CheckBlockedUserListAvailability, "CheckBlockedUserListAvailability"}, {10421, nullptr, "EnsureBlockedUserListAvailable"}, {10500, nullptr, "GetProfileList"}, {10600, nullptr, "DeclareOpenOnlinePlaySession"}, @@ -206,6 +206,17 @@ private: rb.Push(true); } + void CheckBlockedUserListAvailability(HLERequestContext& ctx) { + IPC::RequestParser rp{ctx}; + const auto uuid{rp.PopRaw<Common::UUID>()}; + + LOG_WARNING(Service_Friend, "(STUBBED) called, uuid=0x{}", uuid.RawString()); + + IPC::ResponseBuilder rb{ctx, 3}; + rb.Push(ResultSuccess); + rb.Push(true); + } + KernelHelpers::ServiceContext service_context; Kernel::KEvent* completion_event; |