mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-08-17 06:08:43 +02:00
Stub IFriendService: 1 (Cancel) (#3841)
* Add friend/Cancel. Closes #3824 * Update according to review comments. * Add comment base on request * Update Ryujinx.HLE/HOS/Services/Friend/ServiceCreator/IFriendService.cs Co-authored-by: Ac_K <Acoustik666@gmail.com>
This commit is contained in:
parent
0fd47ff490
commit
748d87adcc
1 changed files with 10 additions and 0 deletions
|
@ -43,6 +43,16 @@ namespace Ryujinx.HLE.HOS.Services.Friend.ServiceCreator
|
||||||
return ResultCode.Success;
|
return ResultCode.Success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[CommandHipc(1)]
|
||||||
|
// nn::friends::Cancel()
|
||||||
|
public ResultCode Cancel(ServiceCtx context)
|
||||||
|
{
|
||||||
|
// TODO: Original service sets an internal field to 1 here. Determine usage.
|
||||||
|
Logger.Stub?.PrintStub(LogClass.ServiceFriend);
|
||||||
|
|
||||||
|
return ResultCode.Success;
|
||||||
|
}
|
||||||
|
|
||||||
[CommandHipc(10100)]
|
[CommandHipc(10100)]
|
||||||
// nn::friends::GetFriendListIds(int offset, nn::account::Uid userId, nn::friends::detail::ipc::SizedFriendFilter friendFilter, ulong pidPlaceHolder, pid)
|
// nn::friends::GetFriendListIds(int offset, nn::account::Uid userId, nn::friends::detail::ipc::SizedFriendFilter friendFilter, ulong pidPlaceHolder, pid)
|
||||||
// -> int outCount, array<nn::account::NetworkServiceAccountId, 0xa>
|
// -> int outCount, array<nn::account::NetworkServiceAccountId, 0xa>
|
||||||
|
|
Loading…
Reference in a new issue