mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-25 19:50:06 +00:00
Merge pull request #9032 from liamwhite/stub-friends
IFriendService: stub CheckFriendListAvailability
This commit is contained in:
commit
3c925a7282
@ -26,7 +26,7 @@ public:
|
|||||||
{10101, &IFriendService::GetFriendList, "GetFriendList"},
|
{10101, &IFriendService::GetFriendList, "GetFriendList"},
|
||||||
{10102, nullptr, "UpdateFriendInfo"},
|
{10102, nullptr, "UpdateFriendInfo"},
|
||||||
{10110, nullptr, "GetFriendProfileImage"},
|
{10110, nullptr, "GetFriendProfileImage"},
|
||||||
{10120, nullptr, "IsFriendListCacheAvailable"},
|
{10120, &IFriendService::CheckFriendListAvailability, "CheckFriendListAvailability"},
|
||||||
{10121, nullptr, "EnsureFriendListAvailable"},
|
{10121, nullptr, "EnsureFriendListAvailable"},
|
||||||
{10200, nullptr, "SendFriendRequestForApplication"},
|
{10200, nullptr, "SendFriendRequestForApplication"},
|
||||||
{10211, nullptr, "AddFacedFriendRequestForApplication"},
|
{10211, nullptr, "AddFacedFriendRequestForApplication"},
|
||||||
@ -194,6 +194,17 @@ private:
|
|||||||
// TODO(ogniK): Return a buffer of u64s which are the "NetworkServiceAccountId"
|
// 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;
|
KernelHelpers::ServiceContext service_context;
|
||||||
|
|
||||||
Kernel::KEvent* completion_event;
|
Kernel::KEvent* completion_event;
|
||||||
|
Loading…
Reference in New Issue
Block a user