diff --git a/app/src/main/cpp/skyline/services/friends/IFriendService.cpp b/app/src/main/cpp/skyline/services/friends/IFriendService.cpp index 1f714980..f3bdc9c5 100644 --- a/app/src/main/cpp/skyline/services/friends/IFriendService.cpp +++ b/app/src/main/cpp/skyline/services/friends/IFriendService.cpp @@ -5,4 +5,9 @@ namespace skyline::service::friends { IFriendService::IFriendService(const DeviceState &state, ServiceManager &manager) : BaseService(state, manager) {} + + Result IFriendService::GetFriendList(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) { + response.Push(0); // Count of friends + return {}; + } } diff --git a/app/src/main/cpp/skyline/services/friends/IFriendService.h b/app/src/main/cpp/skyline/services/friends/IFriendService.h index 273e22f7..52c3d088 100644 --- a/app/src/main/cpp/skyline/services/friends/IFriendService.h +++ b/app/src/main/cpp/skyline/services/friends/IFriendService.h @@ -13,5 +13,11 @@ namespace skyline::service::friends { class IFriendService : public BaseService { public: IFriendService(const DeviceState &state, ServiceManager &manager); + + Result GetFriendList(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response); + + SERVICE_DECL( + SFUNC(0x2775, IFriendService, GetFriendList) + ) }; }