Stub nvdrv FinishInitialize

This commit is contained in:
Melissa Goad 2018-04-19 00:41:01 -05:00
parent eba305fd3d
commit dbaa5cd117

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)
{
//TODO: Stubbed
return 0;
}
private long NvGpuAsIoctlBindChannel(ServiceCtx Context) private long NvGpuAsIoctlBindChannel(ServiceCtx Context)
{ {
long Position = Context.Request.GetSendBuffPtr(); long Position = Context.Request.GetSendBuffPtr();