Add nvdrv INvDrvServices: 9 (DumpGraphicsMemoryInfo)

This commit is contained in:
HorrorTroll 2019-03-22 20:49:31 +07:00
commit f1618d89b0

View file

@ -42,14 +42,15 @@ namespace Ryujinx.HLE.HOS.Services.Nv
{ {
_commands = new Dictionary<int, ServiceProcessRequest>() _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 },
{ 11, Ioctl }, { 9, DumpGraphicsMemoryInfo },
{ 13, FinishInitialize } { 11, Ioctl },
{ 13, FinishInitialize }
}; };
_event = new KEvent(system); _event = new KEvent(system);
@ -148,6 +149,11 @@ namespace Ryujinx.HLE.HOS.Services.Nv
return 0; return 0;
} }
public long DumpGraphicsMemoryInfo(ServiceCtx context)
{
return 0;
}
public long FinishInitialize(ServiceCtx context) public long FinishInitialize(ServiceCtx context)
{ {
Logger.PrintStub(LogClass.ServiceNv); Logger.PrintStub(LogClass.ServiceNv);