mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-11-23 18:27:01 +01:00
cfcc360d06
* ldn: Implement calls of UserLocalCommunicationService - Implement `IUserServiceCreator: CreateUserLocalCommunicationService` according to RE. - Implement `IUserLocalCommunicationService` calls: - Every calls in this interface are layered to `NetworkInterface`. - `GetState` according to RE. - `InitializeOld`, `Initialize` and `Finalize` stubbed with the appropriate result code and some TODO according to RE. - `AttachStateChangeEvent` according to RE. * Fix var name and TODO comments * Fix review
19 lines
No EOL
588 B
C#
19 lines
No EOL
588 B
C#
using Ryujinx.HLE.HOS.Services.Ldn.UserServiceCreator;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Ldn
|
|
{
|
|
[Service("ldn:u")]
|
|
class IUserServiceCreator : IpcService
|
|
{
|
|
public IUserServiceCreator(ServiceCtx context) { }
|
|
|
|
[Command(0)]
|
|
// CreateUserLocalCommunicationService() -> object<nn::ldn::detail::IUserLocalCommunicationService>
|
|
public ResultCode CreateUserLocalCommunicationService(ServiceCtx context)
|
|
{
|
|
MakeObject(context, new IUserLocalCommunicationService(context));
|
|
|
|
return ResultCode.Success;
|
|
}
|
|
}
|
|
} |