aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/Gpu/Memory/NvGpuPBEntry.cs
blob: aba89e3c97f356a806898290a4d4d42d4821be60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System;
using System.Collections.ObjectModel;

namespace Ryujinx.HLE.Gpu.Memory
{
    struct NvGpuPBEntry
    {
        public int Method { get; private set; }

        public int SubChannel { get; private set; }

        private int[] m_Arguments;

        public ReadOnlyCollection<int> Arguments => Array.AsReadOnly(m_Arguments);

        public NvGpuPBEntry(int Method, int SubChannel, params int[] Arguments)
        {
            this.Method      = Method;
            this.SubChannel  = SubChannel;
            this.m_Arguments = Arguments;
        }
    }
}