Archived
1
0
Fork 0
forked from Mirror/Ryujinx
This repository has been archived on 2024-10-11. You can view files and clone it, but cannot push or open issues or pull requests.
jinx/Ryujinx.Graphics/Memory/NvGpuPBEntry.cs

23 lines
579 B
C#
Raw Normal View History

2018-02-04 23:08:20 +00:00
using System;
using System.Collections.ObjectModel;
namespace Ryujinx.Graphics.Memory
2018-02-04 23:08:20 +00:00
{
public struct NvGpuPBEntry
2018-02-04 23:08:20 +00:00
{
public int Method { get; private set; }
2018-02-04 23:08:20 +00: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-04 23:08:20 +00:00
{
this.Method = Method;
2018-02-04 23:08:20 +00:00
this.SubChannel = SubChannel;
this.m_Arguments = Arguments;
}
}
}