This commit is contained in:
Starlet 2018-04-30 01:43:57 +00:00 committed by GitHub
commit 04797dbec2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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