2020-07-27 01:04:08 +02:00
|
|
|
|
using Ryujinx.Common.Logging;
|
|
|
|
|
using Ryujinx.HLE.HOS.Services.Nim.ShopServiceAccessServerInterface;
|
|
|
|
|
|
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Nim
|
2019-09-19 02:45:11 +02:00
|
|
|
|
{
|
|
|
|
|
[Service("nim:eca")] // 5.0.0+
|
|
|
|
|
class IShopServiceAccessServerInterface : IpcService
|
|
|
|
|
{
|
|
|
|
|
public IShopServiceAccessServerInterface(ServiceCtx context) { }
|
2020-07-27 01:04:08 +02:00
|
|
|
|
|
|
|
|
|
[Command(0)]
|
|
|
|
|
// CreateServerInterface(pid, handle<unknown>, u64) -> object<nn::ec::IShopServiceAccessServer>
|
|
|
|
|
public ResultCode CreateServerInterface(ServiceCtx context)
|
|
|
|
|
{
|
|
|
|
|
MakeObject(context, new IShopServiceAccessServer());
|
|
|
|
|
|
2020-08-04 01:32:53 +02:00
|
|
|
|
Logger.Stub?.PrintStub(LogClass.ServiceNim);
|
2020-07-27 01:04:08 +02:00
|
|
|
|
|
|
|
|
|
return ResultCode.Success;
|
|
|
|
|
}
|
2019-09-19 02:45:11 +02:00
|
|
|
|
}
|
|
|
|
|
}
|