Add nvdrv INvDrvServices: 9 (DumpGraphicsMemoryInfo)

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

View file

@ -42,14 +42,15 @@ namespace Ryujinx.HLE.HOS.Services.Nv
{
_commands = new Dictionary<int, ServiceProcessRequest>()
{
{ 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 },
{ 8, SetClientPid },
{ 9, DumpGraphicsMemoryInfo },
{ 11, Ioctl },
{ 13, FinishInitialize }
};
_event = new KEvent(system);
@ -148,6 +149,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);