mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 17:45:26 +00:00
b334aab435
* add stub loglevel * add log for stubbed methods
35 lines
966 B
C#
35 lines
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;
|
|
}
|
|
}
|
|
} |