summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaisymlleung <151548046+daisymlleung@users.noreply.github.com>2023-11-20 18:57:58 +0100
committerGitHub <noreply@github.com>2023-11-20 18:57:58 +0100
commit0216aa55b4137ad1755faa4c9d1d6bd2ca326453 (patch)
tree0c1abaac0920a460170e2d32a7057eb8138f9a31
parentMerge pull request #12093 from t895/zip-intent (diff)
downloadyuzu-0216aa55b4137ad1755faa4c9d1d6bd2ca326453.tar
yuzu-0216aa55b4137ad1755faa4c9d1d6bd2ca326453.tar.gz
yuzu-0216aa55b4137ad1755faa4c9d1d6bd2ca326453.tar.bz2
yuzu-0216aa55b4137ad1755faa4c9d1d6bd2ca326453.tar.lz
yuzu-0216aa55b4137ad1755faa4c9d1d6bd2ca326453.tar.xz
yuzu-0216aa55b4137ad1755faa4c9d1d6bd2ca326453.tar.zst
yuzu-0216aa55b4137ad1755faa4c9d1d6bd2ca326453.zip
-rw-r--r--src/core/hle/service/friend/friend.cpp13
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;