[IApplicationFunctions/INvDrvServices] Stub GetPseudoDeviceId, FinishInitialize and add more pctl service names. (#127)

* [INvDrvServices] Stub FinishInitialize

* [IApplicationFunctions] Stub GetPseudoDeviceId

* I need to proofread my shit...

* Also add more pctl service names
This commit is contained in:
Starlet 2018-05-25 17:33:09 -04:00 committed by gdkchan
parent 30829fce52
commit cb1cf489f9
3 changed files with 38 additions and 10 deletions

View file

@ -38,12 +38,13 @@ namespace Ryujinx.Core.OsHle.Services.Nv
{
m_Commands = new Dictionary<int, ServiceProcessRequest>()
{
{ 0, Open },
{ 1, Ioctl },
{ 2, Close },
{ 3, Initialize },
{ 4, QueryEvent },
{ 8, SetClientPid }
{ 0, Open },
{ 1, Ioctl },
{ 2, Close },
{ 3, Initialize },
{ 4, QueryEvent },
{ 8, SetClientPid },
{ 13, FinishInitialize }
};
Event = new KEvent();
@ -138,6 +139,13 @@ namespace Ryujinx.Core.OsHle.Services.Nv
return 0;
}
public long FinishInitialize(ServiceCtx Context)
{
Context.Ns.Log.PrintStub(LogClass.ServiceNv, "Stubbed.");
return 0;
}
private static int ProcessIoctlNvGpuAS(ServiceCtx Context, int Cmd)
{
@ -217,4 +225,4 @@ namespace Ryujinx.Core.OsHle.Services.Nv
}
}
}
}
}