Stub GetFriendList

This commit is contained in:
Dima 2022-11-03 23:24:32 +03:00 committed by Billy Laws
parent cc37d2231d
commit 0b452fe36b
2 changed files with 11 additions and 0 deletions

View File

@ -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<u32>(0); // Count of friends
return {};
}
}

View File

@ -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)
)
};
}