[INvDrvServices] Stub FinishInitialize

This commit is contained in:
Starlet 2018-05-23 17:36:26 -04:00 committed by GitHub
commit c97f62f6ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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