mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 20:31:48 +01:00
Stub GetFriendList
This commit is contained in:
parent
cc37d2231d
commit
0b452fe36b
@ -5,4 +5,9 @@
|
|||||||
|
|
||||||
namespace skyline::service::friends {
|
namespace skyline::service::friends {
|
||||||
IFriendService::IFriendService(const DeviceState &state, ServiceManager &manager) : BaseService(state, manager) {}
|
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 {};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -13,5 +13,11 @@ namespace skyline::service::friends {
|
|||||||
class IFriendService : public BaseService {
|
class IFriendService : public BaseService {
|
||||||
public:
|
public:
|
||||||
IFriendService(const DeviceState &state, ServiceManager &manager);
|
IFriendService(const DeviceState &state, ServiceManager &manager);
|
||||||
|
|
||||||
|
Result GetFriendList(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||||
|
|
||||||
|
SERVICE_DECL(
|
||||||
|
SFUNC(0x2775, IFriendService, GetFriendList)
|
||||||
|
)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user