aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics/Memory/NvGpuPBEntry.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics/Memory/NvGpuPBEntry.cs')
-rw-r--r--Ryujinx.Graphics/Memory/NvGpuPBEntry.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/Ryujinx.Graphics/Memory/NvGpuPBEntry.cs b/Ryujinx.Graphics/Memory/NvGpuPBEntry.cs
new file mode 100644
index 00000000..6b93c169
--- /dev/null
+++ b/Ryujinx.Graphics/Memory/NvGpuPBEntry.cs
@@ -0,0 +1,23 @@
+using System;
+using System.Collections.ObjectModel;
+
+namespace Ryujinx.Graphics.Memory
+{
+ public 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;
+ }
+ }
+} \ No newline at end of file