aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Nvdec/ChCommandEntry.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.Graphics.Nvdec/ChCommandEntry.cs')
-rw-r--r--Ryujinx.Graphics.Nvdec/ChCommandEntry.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Nvdec/ChCommandEntry.cs b/Ryujinx.Graphics.Nvdec/ChCommandEntry.cs
new file mode 100644
index 00000000..b01b77ed
--- /dev/null
+++ b/Ryujinx.Graphics.Nvdec/ChCommandEntry.cs
@@ -0,0 +1,18 @@
+namespace Ryujinx.Graphics
+{
+ struct ChCommand
+ {
+ public ChClassId ClassId { get; private set; }
+
+ public int MethodOffset { get; private set; }
+
+ public int[] Arguments { get; private set; }
+
+ public ChCommand(ChClassId classId, int methodOffset, params int[] arguments)
+ {
+ ClassId = classId;
+ MethodOffset = methodOffset;
+ Arguments = arguments;
+ }
+ }
+} \ No newline at end of file