[INvDrvServices] Stub FinishInitialize

This commit is contained in:
Starlet 2018-04-22 18:12:48 -04:00
parent db0aa54233
commit b6f799b295

View file

@ -31,12 +31,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 },
}; };
IoctlCmds = new Dictionary<(string, int), ServiceProcessIoctl>() IoctlCmds = new Dictionary<(string, int), ServiceProcessIoctl>()
@ -165,6 +166,13 @@ namespace Ryujinx.Core.OsHle.Services.Nv
return 0; return 0;
} }
public long FinishInitialize(ServiceCtx Context)
{
Logging.Stub(LogClass.ServiceNv, "Stubbed");
return 0;
}
private long NvGpuAsIoctlBindChannel(ServiceCtx Context) private long NvGpuAsIoctlBindChannel(ServiceCtx Context)
{ {
long Position = Context.Request.GetSendBuffPtr(); long Position = Context.Request.GetSendBuffPtr();