Ryujinx/Ryujinx.HLE/Gpu/NvGpuPBEntry.cs

23 lines
564 B
C#
Raw Normal View History

2018-02-05 00:08:20 +01:00
using System;
using System.Collections.ObjectModel;
2018-06-16 03:20:48 +02:00
namespace Ryujinx.HLE.Gpu
2018-02-05 00:08:20 +01:00
{
struct NvGpuPBEntry
2018-02-05 00:08:20 +01:00
{
public int Method { get; private set; }
2018-02-05 00:08:20 +01:00
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)
2018-02-05 00:08:20 +01:00
{
this.Method = Method;
2018-02-05 00:08:20 +01:00
this.SubChannel = SubChannel;
this.m_Arguments = Arguments;
}
}
}