mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-25 20:01:22 -08:00
c67f0a7c4b
* IGeneralService Implement GetClientId and IsAnyInternetRequestAccepted - Add nifm:a and nifm:u with a max sessions as comment since sm don't take care of sessions for now. - Implement IGeneralService GetClientId based on RE (close #623). - Implement IGeneralService IsAnyInternetRequestAccepted based on RE (close #624). - Add some informations in IGeneralService CreateRequest. - Fix a comment in IAccountService. * Fix requested changes
28 lines
869 B
C#
28 lines
869 B
C#
namespace Ryujinx.HLE.HOS.Services.Nifm
|
|
{
|
|
[Service("nifm:a")] // Max sessions: 2
|
|
[Service("nifm:s")] // Max sessions: 16
|
|
[Service("nifm:u")] // Max sessions: 5
|
|
class IStaticService : IpcService
|
|
{
|
|
public IStaticService(ServiceCtx context) { }
|
|
|
|
[Command(4)]
|
|
// CreateGeneralServiceOld() -> object<nn::nifm::detail::IGeneralService>
|
|
public ResultCode CreateGeneralServiceOld(ServiceCtx context)
|
|
{
|
|
MakeObject(context, new IGeneralService());
|
|
|
|
return ResultCode.Success;
|
|
}
|
|
|
|
[Command(5)] // 3.0.0+
|
|
// CreateGeneralService(u64, pid) -> object<nn::nifm::detail::IGeneralService>
|
|
public ResultCode CreateGeneralService(ServiceCtx context)
|
|
{
|
|
MakeObject(context, new IGeneralService());
|
|
|
|
return ResultCode.Success;
|
|
}
|
|
}
|
|
} |