diff --git a/Ryujinx.HLE/HOS/Services/Nv/INvDrvServices.cs b/Ryujinx.HLE/HOS/Services/Nv/INvDrvServices.cs index 1ed97ddea2..231c9c3d14 100644 --- a/Ryujinx.HLE/HOS/Services/Nv/INvDrvServices.cs +++ b/Ryujinx.HLE/HOS/Services/Nv/INvDrvServices.cs @@ -40,14 +40,16 @@ namespace Ryujinx.HLE.HOS.Services.Nv { _commands = new Dictionary() { - { 0, Open }, - { 1, Ioctl }, - { 2, Close }, - { 3, Initialize }, - { 4, QueryEvent }, - { 8, SetClientPid }, - { 11, Ioctl }, - { 13, FinishInitialize } + { 0, Open }, + { 1, Ioctl }, + { 2, Close }, + { 3, Initialize }, + { 4, QueryEvent }, + { 6, GetStatus }, + { 8, SetClientPid }, + { 9, DumpGraphicsMemoryInfo }, + { 11, Ioctl }, + { 13, FinishInitialize } }; _event = new KEvent(system); @@ -137,6 +139,13 @@ namespace Ryujinx.HLE.HOS.Services.Nv return 0; } + public long GetStatus(ServiceCtx context) + { + context.ResponseData.Write(0x10); + + return 0; + } + public long SetClientPid(ServiceCtx context) { long pid = context.RequestData.ReadInt64(); @@ -146,6 +155,11 @@ namespace Ryujinx.HLE.HOS.Services.Nv return 0; } + public long DumpGraphicsMemoryInfo(ServiceCtx context) + { + return 0; + } + public long FinishInitialize(ServiceCtx context) { Logger.PrintStub(LogClass.ServiceNv, "Stubbed."); @@ -220,4 +234,4 @@ namespace Ryujinx.HLE.HOS.Services.Nv NvMapIoctl.UnloadProcess(process); } } -} +} \ No newline at end of file