From b6f799b295507828bb6e9567add7ff077a0e7f2a Mon Sep 17 00:00:00 2001 From: Starlet Date: Sun, 22 Apr 2018 18:12:48 -0400 Subject: [PATCH] [INvDrvServices] Stub FinishInitialize --- .../OsHle/Services/Nv/INvDrvServices.cs | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/Ryujinx.Core/OsHle/Services/Nv/INvDrvServices.cs b/Ryujinx.Core/OsHle/Services/Nv/INvDrvServices.cs index cc5f95cd31..0ac0189de0 100644 --- a/Ryujinx.Core/OsHle/Services/Nv/INvDrvServices.cs +++ b/Ryujinx.Core/OsHle/Services/Nv/INvDrvServices.cs @@ -31,12 +31,13 @@ namespace Ryujinx.Core.OsHle.Services.Nv { m_Commands = new Dictionary() { - { 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>() @@ -165,6 +166,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();