Пример #1
0
        private static int GetActiveSlotMask(ServiceCtx context)
        {
            long outputPosition = context.Request.GetBufferType0x22().Position;

            NvGpuGpuGetActiveSlotMask args = new NvGpuGpuGetActiveSlotMask();

            args.Slot = 0x07;
            args.Mask = 0x01;

            MemoryHelper.Write(context.Memory, outputPosition, args);

            Logger.PrintStub(LogClass.ServiceNv);

            return(NvResult.Success);
        }
Пример #2
0
        private static int GetActiveSlotMask(ServiceCtx Context)
        {
            long OutputPosition = Context.Request.GetBufferType0x22().Position;

            NvGpuGpuGetActiveSlotMask Args = new NvGpuGpuGetActiveSlotMask();

            Args.Slot = 0x07;
            Args.Mask = 0x01;

            AMemoryHelper.Write(Context.Memory, OutputPosition, Args);

            Context.Device.Log.PrintStub(LogClass.ServiceNv, "Stubbed.");

            return(NvResult.Success);
        }