2018-06-10 21:46:42 -03:00
|
|
|
using Ryujinx.HLE.Logging;
|
|
|
|
using Ryujinx.HLE.OsHle.Ipc;
|
2018-02-09 21:14:55 -03:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
2018-06-10 21:46:42 -03:00
|
|
|
namespace Ryujinx.HLE.OsHle.Services.Acc
|
2018-02-09 21:14:55 -03:00
|
|
|
{
|
2018-03-19 15:58:46 -03:00
|
|
|
class IProfile : IpcService
|
2018-02-09 21:14:55 -03:00
|
|
|
{
|
|
|
|
private Dictionary<int, ServiceProcessRequest> m_Commands;
|
|
|
|
|
2018-03-19 15:58:46 -03:00
|
|
|
public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
|
2018-02-09 21:14:55 -03:00
|
|
|
|
|
|
|
public IProfile()
|
|
|
|
{
|
|
|
|
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
|
|
|
{
|
|
|
|
{ 1, GetBase }
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
public long GetBase(ServiceCtx Context)
|
|
|
|
{
|
2018-04-24 15:57:39 -03:00
|
|
|
Context.Ns.Log.PrintStub(LogClass.ServiceAcc, "Stubbed.");
|
2018-04-17 03:24:42 +03:00
|
|
|
|
2018-02-09 21:14:55 -03:00
|
|
|
Context.ResponseData.Write(0L);
|
|
|
|
Context.ResponseData.Write(0L);
|
|
|
|
Context.ResponseData.Write(0L);
|
|
|
|
Context.ResponseData.Write(0L);
|
|
|
|
Context.ResponseData.Write(0L);
|
|
|
|
Context.ResponseData.Write(0L);
|
|
|
|
Context.ResponseData.Write(0L);
|
2018-04-24 15:57:39 -03:00
|
|
|
|
2018-02-09 21:14:55 -03:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|