summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-10-14 02:12:08 +0200
committerGitHub <noreply@github.com>2022-10-14 02:12:08 +0200
commit3c925a72826823139c707a415a73dd95940ca41a (patch)
tree48cc7259039f80684d2a73a33601dcfd7bfe0ea9 /src/core/hle
parentMerge pull request #9065 from liamwhite/result-mess (diff)
parentIFriendService: stub CheckFriendListAvailability (diff)
downloadyuzu-3c925a72826823139c707a415a73dd95940ca41a.tar
yuzu-3c925a72826823139c707a415a73dd95940ca41a.tar.gz
yuzu-3c925a72826823139c707a415a73dd95940ca41a.tar.bz2
yuzu-3c925a72826823139c707a415a73dd95940ca41a.tar.lz
yuzu-3c925a72826823139c707a415a73dd95940ca41a.tar.xz
yuzu-3c925a72826823139c707a415a73dd95940ca41a.tar.zst
yuzu-3c925a72826823139c707a415a73dd95940ca41a.zip
Diffstat (limited to 'src/core/hle')
-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 e0db787fc..fad532115 100644
--- a/src/core/hle/service/friend/friend.cpp
+++ b/src/core/hle/service/friend/friend.cpp
@@ -26,7 +26,7 @@ public:
{10101, &IFriendService::GetFriendList, "GetFriendList"},
{10102, nullptr, "UpdateFriendInfo"},
{10110, nullptr, "GetFriendProfileImage"},
- {10120, nullptr, "IsFriendListCacheAvailable"},
+ {10120, &IFriendService::CheckFriendListAvailability, "CheckFriendListAvailability"},
{10121, nullptr, "EnsureFriendListAvailable"},
{10200, nullptr, "SendFriendRequestForApplication"},
{10211, nullptr, "AddFacedFriendRequestForApplication"},
@@ -194,6 +194,17 @@ private:
// TODO(ogniK): Return a buffer of u64s which are the "NetworkServiceAccountId"
}
+ void CheckFriendListAvailability(Kernel::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;