forked from Mirror/Ryujinx
b334aab435
* add stub loglevel * add log for stubbed methods
35 lines
No EOL
966 B
C#
35 lines
No EOL
966 B
C#
using Ryujinx.Core.OsHle.Ipc;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Ryujinx.Core.OsHle.Services.Acc
|
|
{
|
|
class IProfile : IpcService
|
|
{
|
|
private Dictionary<int, ServiceProcessRequest> m_Commands;
|
|
|
|
public override IReadOnlyDictionary<int, ServiceProcessRequest> Commands => m_Commands;
|
|
|
|
public IProfile()
|
|
{
|
|
m_Commands = new Dictionary<int, ServiceProcessRequest>()
|
|
{
|
|
{ 1, GetBase }
|
|
};
|
|
}
|
|
|
|
public long GetBase(ServiceCtx Context)
|
|
{
|
|
Logging.Stub(LogClass.ServiceAcc, "Stubbed");
|
|
|
|
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);
|
|
|
|
return 0;
|
|
}
|
|
}
|
|
} |