Add INvDrvServices command 6 and 9.
This commit is contained in:
parent
71f94578b5
commit
e9b02e5a55
1 changed files with 22 additions and 8 deletions
|
@ -40,14 +40,16 @@ 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 },
|
||||
{ 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.");
|
||||
|
|
Loading…
Add table
Reference in a new issue