Remove NVHOST_IOCTL_CTRL_EVENT_KILL (0x40080021)

This commit is contained in:
HorrorTroll 2019-03-25 14:11:00 +07:00
parent 4747fc7ced
commit 01c70c17c2

View file

@ -37,7 +37,6 @@ namespace Ryujinx.HLE.HOS.Services.Nv.NvHostCtrl
case 0x001d: return EventWait (context);
case 0x001e: return EventWaitAsync(context);
case 0x001f: return EventRegister (context);
case 0x0021: return EventKill (context);
}
throw new NotImplementedException(cmd.ToString("x8"));
@ -151,18 +150,6 @@ namespace Ryujinx.HLE.HOS.Services.Nv.NvHostCtrl
return NvResult.Success;
}
private static int EventKill(ServiceCtx context)
{
long inputPosition = context.Request.GetBufferType0x21().Position;
long outputPosition = context.Request.GetBufferType0x22().Position;
long events = context.Memory.ReadInt64(inputPosition);
Logger.PrintStub(LogClass.ServiceNv);
return NvResult.Success;
}
private static int SyncptReadMinOrMax(ServiceCtx context, bool max)
{
long inputPosition = context.Request.GetBufferType0x21().Position;