Add INvDrvServices command 6 and 9.
This commit is contained in:
parent
71f94578b5
commit
e9b02e5a55
1 changed files with 22 additions and 8 deletions
|
@ -45,7 +45,9 @@ namespace Ryujinx.HLE.HOS.Services.Nv
|
||||||
{ 2, Close },
|
{ 2, Close },
|
||||||
{ 3, Initialize },
|
{ 3, Initialize },
|
||||||
{ 4, QueryEvent },
|
{ 4, QueryEvent },
|
||||||
|
{ 6, GetStatus },
|
||||||
{ 8, SetClientPid },
|
{ 8, SetClientPid },
|
||||||
|
{ 9, DumpGraphicsMemoryInfo },
|
||||||
{ 11, Ioctl },
|
{ 11, Ioctl },
|
||||||
{ 13, FinishInitialize }
|
{ 13, FinishInitialize }
|
||||||
};
|
};
|
||||||
|
@ -137,6 +139,13 @@ namespace Ryujinx.HLE.HOS.Services.Nv
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public long GetStatus(ServiceCtx context)
|
||||||
|
{
|
||||||
|
context.ResponseData.Write(0x10);
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
public long SetClientPid(ServiceCtx context)
|
public long SetClientPid(ServiceCtx context)
|
||||||
{
|
{
|
||||||
long pid = context.RequestData.ReadInt64();
|
long pid = context.RequestData.ReadInt64();
|
||||||
|
@ -146,6 +155,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, "Stubbed.");
|
Logger.PrintStub(LogClass.ServiceNv, "Stubbed.");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue